Describes how a target should be addressed during rendering.
More...
|
Texture * | _target |
| The target texture to use.
|
|
unsigned int | _indexInTextureArray |
| If the texture is an array, the index, in the array, of the texture to render to.
|
|
unsigned int | _mipIndex |
| If the texture has mips, the mip to render to.
|
|
Describes how a target should be addressed during rendering.
This descriptor is used within the TargetOperations to specify color targets and their parameters.
◆ TargetDescriptor() [1/4]
nkGraphics::TargetDescriptor::TargetDescriptor |
( |
| ) |
|
◆ TargetDescriptor() [2/4]
nkGraphics::TargetDescriptor::TargetDescriptor |
( |
Texture * |
target | ) |
|
Texture constructor. Defaults to using the texture, with both array index and mip index set to 0.
- Parameters
-
target | The texture target to render to. |
◆ TargetDescriptor() [3/4]
nkGraphics::TargetDescriptor::TargetDescriptor |
( |
Texture * |
target, |
|
|
unsigned int |
indexInTextureArray |
|
) |
| |
Texture array index constructor. Defaults to using the texture at given arrya index, and mip index set to 0.
- Parameters
-
target | The texture target to render to. |
indexInTextureArray | The index of the subresource in the array to render to. |
◆ TargetDescriptor() [4/4]
nkGraphics::TargetDescriptor::TargetDescriptor |
( |
Texture * |
target, |
|
|
unsigned int |
indexInTextureArray, |
|
|
unsigned int |
mipIndex |
|
) |
| |
Full constructor.
- Parameters
-
target | The texture target to render to. |
indexInTextureArray | The index of the subresource in the array to render to. |
mipIndex | The mip index to render to. |
◆ ~TargetDescriptor()
nkGraphics::TargetDescriptor::~TargetDescriptor |
( |
| ) |
|
The documentation for this class was generated from the following file: