LayeredArrayTextureAttachment

class LayeredArrayTextureAttachment(val index: Int, val name: String?, val arrayTexture: ArrayTexture, val level: Int) : ColorAttachment(source)

Represents a specific color attachment for a layered array texture.

This class links a single ArrayTexture to a rendering target, allowing the texture to be used as a color attachment in a rendering process.

Parameters

index

The binding index for the attachment in the RenderTarget.

name

An optional name for the attachment, or null if no name is provided.

arrayTexture

The ArrayTexture bound to this attachment, representing a texture with multiple layers.

level

The mipmap level of the texture to be used for this attachment.

Constructors

Link copied to clipboard
constructor(index: Int, name: String?, arrayTexture: ArrayTexture, level: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val index: Int
Link copied to clipboard
val level: Int
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String