ProgramRenderTarget

Represents a special type of RenderTarget that is directly tied to a Program. The rendering operations target the screen or window surface associated with the Program. The dimensions of this render target are directly derived from the width and height of the Program.

Properties

Link copied to clipboard
Link copied to clipboard
abstract val contentScale: Double
Link copied to clipboard
abstract val depthBuffer: DepthBuffer?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val hasDepthBuffer: Boolean
Link copied to clipboard
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
abstract val program: Program
Link copied to clipboard
abstract val session: Session?
Link copied to clipboard
open override val width: Int

Functions

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