layer

Sets an index of a single layer for 2D array, cubemap array, and 3D textures.

For cubemap array textures, layer is translated into an array index and face according to:

  • index: layer / 6

  • face: layer % 6

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point

layer

The associated layer index

Sets an index of a single layer for 2D array, cubemap array, and 3D textures.

For cubemap array textures, layer is translated into an array index and face according to:

  • index: layer / 6

  • face: layer % 6

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point

layer

The associated layer index

Sets an index of a single layer for 2D array, cubemap array, and 3D textures.

For cubemap array textures, layer is translated into an array index and face according to:

  • index: layer / 6

  • face: layer % 6

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point

layer

The associated layer index

Sets an index of a single layer for 2D array, cubemap array, and 3D textures.

For cubemap array textures, layer is translated into an array index and face according to:

  • index: layer / 6

  • face: layer % 6

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point

layer

The associated layer index

Sets an index of a single layer for 2D array, cubemap array, and 3D textures.

For cubemap array textures, layer is translated into an array index and face according to:

  • index: layer / 6

  • face: layer % 6

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point

layer

The associated layer index