Builder
class Builder
Builder for creating RenderTarget instances.
Use this to configure texture attachments, mipmap levels, cubemap faces, and layers, then call build() to create the RenderTarget.
Functions
Link copied to clipboard
Creates the RenderTarget object.
Link copied to clipboard
Sets the face for cubemap textures at the given attachment point.
Link copied to clipboard
Sets an index of a single layer for 2D array, cubemap array, and 3D textures.
Link copied to clipboard
Sets the mipmap level for a given attachment point.
Link copied to clipboard
fun multiview(attachment: RenderTarget.AttachmentPoint, layerCount: Int, baseLayer: Int = 0): RenderTarget.Builder
Sets the attachment point to use multiview rendering: layerCount layers of a 2D array texture, starting at baseLayer, are rendered in a single pass.
Link copied to clipboard
Sets the number of samples used for MSAA (Multisample Anti-Aliasing).
Link copied to clipboard
Sets a texture to a given attachment point.