API Documentation
TargetDescriptor.h
1 // TargetDescriptor.h
3 //
5 
6 namespace nkGraphics
7 {
13  class TargetDescriptor final
14  {
15  public :
16 
18  unsigned int _indexInTextureArray ;
19  unsigned int _mipIndex ;
20 
21  public :
22 
41  TargetDescriptor (Texture* target, unsigned int indexInTextureArray) ;
49  TargetDescriptor (Texture* target, unsigned int indexInTextureArray, unsigned int mipIndex) ;
54  } ;
55 }
nkGraphics::TargetDescriptor::_mipIndex
unsigned int _mipIndex
If the texture has mips, the mip to render to.
Definition: TargetDescriptor.h:19
nkGraphics::Texture
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
nkGraphics::TargetDescriptor::_target
Texture * _target
The target texture to use.
Definition: TargetDescriptor.h:17
nkGraphics::TargetDescriptor::TargetDescriptor
TargetDescriptor(Texture *target, unsigned int indexInTextureArray)
nkGraphics::TargetDescriptor::_indexInTextureArray
unsigned int _indexInTextureArray
If the texture is an array, the index, in the array, of the texture to render to.
Definition: TargetDescriptor.h:18
nkGraphics::TargetDescriptor::TargetDescriptor
TargetDescriptor()
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::TargetDescriptor::~TargetDescriptor
~TargetDescriptor()
nkGraphics::TargetDescriptor::TargetDescriptor
TargetDescriptor(Texture *target, unsigned int indexInTextureArray, unsigned int mipIndex)
nkGraphics::TargetDescriptor::TargetDescriptor
TargetDescriptor(Texture *target)
nkGraphics::TargetDescriptor
Describes how a target should be addressed during rendering.
Definition: TargetDescriptor.h:14