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.

See also

Constructors

Link copied to clipboard
constructor(index: Int, name: String?, cubemap: Cubemap, side: CubemapSide, 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
Link copied to clipboard

Functions

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