ArrayTextureAttachment
class ArrayTextureAttachment(val index: Int, val name: String?, val arrayTexture: ArrayTexture, val layer: Int, val level: Int) : ColorAttachment(source)
Represents a color attachment that targets a specific layer and mip level of an array texture. This class extends ColorAttachment and provides a mechanism to associate an array texture's layer and level with a render target.
Parameters
index
The binding index for the render target.
name
The optional name for the binding, can be null.
arrayTexture
The array texture instance used for this attachment.
layer
The specific layer of the array texture to be used for this attachment.
level
The mip level of the specified layer to be used for this attachment.