RenderTarget
interface RenderTarget
Content copied to clipboard
Types
Functions
attach
Link copied to clipboard
abstract fun attach(colorBuffer: ColorBuffer, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attach(arrayTexture: ArrayTexture, layer: Int, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attach(cubemap: Cubemap, side: CubemapSide, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attach(volumeTexture: VolumeTexture, layer: Int, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attach(arrayCubemap: ArrayCubemap, side: CubemapSide, layer: Int, level: Int = 0, name: String? = null)
Content copied to clipboard
attachLayered
Link copied to clipboard
abstract fun attachLayered(arrayCubemap: ArrayCubemap, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attachLayered(arrayTexture: ArrayTexture, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attachLayered(cubemap: Cubemap, level: Int = 0, name: String? = null)
Content copied to clipboard
abstract fun attachLayered(volumeTexture: VolumeTexture, level: Int = 0, name: String? = null)
Content copied to clipboard
bind
Link copied to clipboard
abstract fun bind()
Content copied to clipboard
binds the RenderTarget to the active target
clearColor
Link copied to clipboard
clear a color attachment
clearDepth
Link copied to clipboard
clear the depth attachment
colorAttachmentByName
Link copied to clipboard
find color attachment by name
colorAttachmentIndexByName
Link copied to clipboard
find color attachment index by name
colorBuffer
Link copied to clipboard
get a color attachment as a ColorBuffer
destroy
Link copied to clipboard
abstract fun destroy()
Content copied to clipboard
destroy the RenderTarget to properly destroy destroy color attachments and depth attachment first then use detachColorAttachments and detachDepthBuffer before calling destroy
detachColorAttachments
Link copied to clipboard
abstract fun detachColorAttachments()
Content copied to clipboard
detach all color attachments
detachColorBuffers
Link copied to clipboard
detachDepthBuffer
Link copied to clipboard
abstract fun detachDepthBuffer()
Content copied to clipboard
detach depth buffer
resolveTo
Link copied to clipboard
unbind
Link copied to clipboard
abstract fun unbind()
Content copied to clipboard
unbinds the RenderTarget from the active target
Properties
colorAttachments
Link copied to clipboard
list of ColorAttachments
contentScale
Link copied to clipboard
depthBuffer
Link copied to clipboard
effectiveHeight
Link copied to clipboard
effectiveWidth
Link copied to clipboard
hasColorAttachments
Link copied to clipboard
indicates that this RenderTarget has at least one ColorAttachment
hasDepthBuffer
Link copied to clipboard
indicates that this RenderTarget has a DepthBuffer
multisample
Link copied to clipboard