LayeredArrayTextureAttachment
class LayeredArrayTextureAttachment(index: Int, 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.