Holds information about a resource linked in a shader for feeding. More...
Public Member Functions | |
ShaderBoundResourceDesc () | |
ShaderBoundResourceDesc (unsigned int slot, unsigned int space, T *resource) | |
~ShaderBoundResourceDesc () | |
Public Attributes | |
unsigned int | _slot |
The register slot fed with the resource. | |
unsigned int | _space |
The register space fed with the resource. | |
T * | _resource |
The resource to feed with. | |
Holds information about a resource linked in a shader for feeding.
nkGraphics::ShaderBoundResourceDesc< T >::ShaderBoundResourceDesc | ( | ) |
Default constructor.
nkGraphics::ShaderBoundResourceDesc< T >::ShaderBoundResourceDesc | ( | unsigned int | slot, |
unsigned int | space, | ||
T * | resource | ||
) |
Filling constructor.
slot | The register slot used. |
space | The register space used. |
resource | The resource fed. |
nkGraphics::ShaderBoundResourceDesc< T >::~ShaderBoundResourceDesc | ( | ) |
Destructor.