ColorBufferWebGL

class ColorBufferWebGL(val context: WebGL2RenderingContext, val target: Int, val texture: WebGLTexture, val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType, val levels: Int, val multisample: BufferMultisample, val session: Session?) : ColorBuffer(source)

Constructors

Link copied to clipboard
constructor(context: WebGL2RenderingContext, target: Int, texture: WebGLTexture, width: Int, height: Int, contentScale: Double, format: ColorFormat, type: ColorType, levels: Int, multisample: BufferMultisample, session: Session?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun bind(unit: Int)
Link copied to clipboard
Link copied to clipboard
open override fun copyTo(target: ArrayTexture, layer: Int, fromLevel: Int, toLevel: Int)
open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, filter: MagnifyingFilter)
open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, sourceRectangle: IntRectangle, targetRectangle: IntRectangle, filter: MagnifyingFilter)
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun fill(color: ColorRGBa)
Link copied to clipboard
open override fun filter(filterMin: MinifyingFilter, filterMag: MagnifyingFilter)
Link copied to clipboard
open override fun generateMipmaps()
Link copied to clipboard
open override fun read(target: ArrayBufferView, x: Int, y: Int, width: Int, height: Int, level: Int)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun write(source: TexImageSource, x: Int, y: Int, width: Int, height: Int, level: Int)
open override fun write(source: ArrayBufferView, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)
open override fun write(sourceBuffer: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)

Properties

Link copied to clipboard
open override var anisotropy: Double
Link copied to clipboard
Link copied to clipboard
open override val contentScale: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var flipV: Boolean
Link copied to clipboard
open override val format: ColorFormat
Link copied to clipboard
open override val height: Int
Link copied to clipboard
open override val levels: Int
Link copied to clipboard
open override val multisample: BufferMultisample
Link copied to clipboard
open override val session: Session?
Link copied to clipboard
val target: Int
Link copied to clipboard
Link copied to clipboard
open override val type: ColorType
Link copied to clipboard
open override val width: Int
Link copied to clipboard
open override var wrapU: WrapMode
Link copied to clipboard
open override var wrapV: WrapMode