ProgramRenderTargetWebGL

The render target of the canvas

Parameters

srgbFallback

the offscreen sRGB target that is drawn into when the canvas can not have an sRGB drawing buffer

Properties

Link copied to clipboard
open override val blendModes: MutableList<BlendMode>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val contentScale: Double
Link copied to clipboard
val context: WebGL2RenderingContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val framebuffer: WebGLFramebuffer?
Link copied to clipboard
open override val hasColorAttachments: Boolean = true
Link copied to clipboard
open override val hasDepthBuffer: Boolean = true
Link copied to clipboard
open override val hasStencilBuffer: Boolean = true
Link copied to clipboard
open override val height: Int
Link copied to clipboard
Link copied to clipboard
open val pixelHeight: Int
Link copied to clipboard
open val pixelWidth: Int
Link copied to clipboard
open override val program: Program
Link copied to clipboard
open val session: Session?
Link copied to clipboard
open override val width: Int

Functions

Link copied to clipboard
open fun attach(depthBuffer: DepthBuffer, ownedByRenderTarget: Boolean)
open fun attach(arrayTexture: ArrayTexture, layer: Int, level: Int, name: String?)
open fun attach(colorBuffer: ColorBuffer, level: Int, name: String?, ownedByRenderTarget: Boolean)
open fun attach(cubemap: Cubemap, side: CubemapSide, level: Int, name: String?)
open fun attach(volumeTexture: VolumeTexture, layer: Int, level: Int, name: String?)
open fun attach(arrayCubemap: ArrayCubemap, side: CubemapSide, layer: Int, level: Int, name: String?)
Link copied to clipboard
open fun attachLayered(arrayCubemap: ArrayCubemap, level: Int, name: String?)
open fun attachLayered(arrayTexture: ArrayTexture, level: Int, name: String?)
open fun attachLayered(cubemap: Cubemap, level: Int, name: String?)
open fun attachLayered(volumeTexture: VolumeTexture, level: Int, name: String?)
Link copied to clipboard
open fun bind()
Link copied to clipboard
Link copied to clipboard
open fun clearColor(index: Int, color: ColorRGBa)
Link copied to clipboard
open fun clearDepth(depth: Double, stencil: Int)
Link copied to clipboard
expect open fun close()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun colorBuffer(index: Int): ColorBuffer
Link copied to clipboard
Link copied to clipboard
open fun destroy()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun resolveTo(to: RenderTarget)
Link copied to clipboard
open fun setBlendMode(index: Int, blendMode: BlendMode)
Link copied to clipboard
open fun unbind()