API Documentation
ShaderResourceDesc.h
1 // ShaderResourceDesc.h
3 //
5 
6 namespace nkGraphics
7 {
11  template<typename T>
13  {
14  public :
15 
16  unsigned int _slot ;
17  unsigned int _space ;
18 
19  T* _resource ;
20 
21  public :
22 
34  ShaderBoundResourceDesc (unsigned int slot, unsigned int space, T* resource) ;
39  } ;
40 
45 }
nkGraphics::ShaderBoundResourceDesc::~ShaderBoundResourceDesc
~ShaderBoundResourceDesc()
nkGraphics::ShaderBoundResourceDesc::ShaderBoundResourceDesc
ShaderBoundResourceDesc()
nkGraphics::ShaderBoundResourceDesc
Holds information about a resource linked in a shader for feeding.
Definition: ShaderResourceDesc.h:13
nkGraphics::ShaderBoundResourceDesc::_space
unsigned int _space
The register space fed with the resource.
Definition: ShaderResourceDesc.h:17
nkGraphics::ShaderBoundResourceDesc::_slot
unsigned int _slot
The register slot fed with the resource.
Definition: ShaderResourceDesc.h:16
nkGraphics::ShaderBoundResourceDesc::ShaderBoundResourceDesc
ShaderBoundResourceDesc(unsigned int slot, unsigned int space, T *resource)
nkGraphics::ShaderBoundResourceDesc::_resource
T * _resource
The resource to feed with.
Definition: ShaderResourceDesc.h:19
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7