RenderTarget

actual class RenderTarget

An offscreen render target that can be associated with a View and contains weak references to a set of attached Texture objects.

RenderTarget is intended to be used with the View's post-processing disabled for the most part, especially when a DEPTH attachment is also used. Custom RenderTargets are ultimately intended to render into textures that might be used during the main render pass.

Clients are responsible for the lifetime of all associated Texture attachments.

See also

expect class RenderTarget

An offscreen render target that can be associated with a View and contains weak references to a set of attached Texture objects.

RenderTarget is intended to be used with the View's post-processing disabled for the most part, especially when a DEPTH attachment is also used. Custom RenderTargets are ultimately intended to render into textures that might be used during the main render pass.

Clients are responsible for the lifetime of all associated Texture attachments.

See also

actual class RenderTarget

An offscreen render target that can be associated with a View and contains weak references to a set of attached Texture objects.

RenderTarget is intended to be used with the View's post-processing disabled for the most part, especially when a DEPTH attachment is also used. Custom RenderTargets are ultimately intended to render into textures that might be used during the main render pass.

Clients are responsible for the lifetime of all associated Texture attachments.

See also

actual class RenderTarget

An offscreen render target that can be associated with a View and contains weak references to a set of attached Texture objects.

RenderTarget is intended to be used with the View's post-processing disabled for the most part, especially when a DEPTH attachment is also used. Custom RenderTargets are ultimately intended to render into textures that might be used during the main render pass.

Clients are responsible for the lifetime of all associated Texture attachments.

See also

actual class RenderTarget

An offscreen render target that can be associated with a View and contains weak references to a set of attached Texture objects.

RenderTarget is intended to be used with the View's post-processing disabled for the most part, especially when a DEPTH attachment is also used. Custom RenderTargets are ultimately intended to render into textures that might be used during the main render pass.

Clients are responsible for the lifetime of all associated Texture attachments.

See also

Types

Link copied to clipboard

Attachment point identifiers for texture attachments in a render target.

Attachment point identifiers for texture attachments in a render target.

Attachment point identifiers for texture attachments in a render target.

Attachment point identifiers for texture attachments in a render target.

Attachment point identifiers for texture attachments in a render target.

Link copied to clipboard
actual class Builder

Builder for creating RenderTarget instances.

expect class Builder

Builder for creating RenderTarget instances.

actual class Builder

Builder for creating RenderTarget instances.

actual class Builder

Builder for creating RenderTarget instances.

actual class Builder

Builder for creating RenderTarget instances.

Properties

Link copied to clipboard
val nativeRenderTarget: RenderTarget

Functions

Link copied to clipboard

Gets the cubemap face for a given attachment point.

Gets the cubemap face for a given attachment point.

Gets the cubemap face for a given attachment point.

Gets the cubemap face for a given attachment point.

Gets the cubemap face for a given attachment point.

Link copied to clipboard
actual fun getLayer(attachment: RenderTarget.AttachmentPoint): Int

Gets the layer index for a given attachment point.

expect fun getLayer(attachment: RenderTarget.AttachmentPoint): Int

Gets the layer index for a given attachment point.

actual fun getLayer(attachment: RenderTarget.AttachmentPoint): Int

Gets the layer index for a given attachment point.

actual fun getLayer(attachment: RenderTarget.AttachmentPoint): Int

Gets the layer index for a given attachment point.

actual fun getLayer(attachment: RenderTarget.AttachmentPoint): Int

Gets the layer index for a given attachment point.

Link copied to clipboard

Gets the mipmap level for a given attachment point.

Gets the mipmap level for a given attachment point.

Gets the mipmap level for a given attachment point.

Gets the mipmap level for a given attachment point.

Gets the mipmap level for a given attachment point.

Link copied to clipboard

Gets the texture attached to a given attachment point.

Gets the texture attached to a given attachment point.

Gets the texture attached to a given attachment point.

Gets the texture attached to a given attachment point.

Gets the texture attached to a given attachment point.