CubemapAttachment
class CubemapAttachment(val index: Int, val name: String?, val cubemap: Cubemap, val side: CubemapSide, val level: Int) : ColorAttachment(source)
Represents a color attachment for a specific side of a cubemap in a render target.
This class allows targeting a specific side of a cubemap at a given mipmap level for rendering purposes.
Parameters
index
The binding index for the render target.
name
An optional name for the attachment, can be null
.
cubemap
The cubemap instance associated with this attachment.
side
The specific side of the cubemap to be used as the attachment target.
level
The mipmap level of the cubemap to be used.