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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val index: Int
Link copied to clipboard
val layer: 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