API Documentation
Public Member Functions | Public Attributes | List of all members
nkGraphics::ShaderBoundResourceDesc< T > Class Template Reference

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.
 

Detailed Description

template<typename T>
class nkGraphics::ShaderBoundResourceDesc< T >

Holds information about a resource linked in a shader for feeding.

Constructor & Destructor Documentation

◆ ShaderBoundResourceDesc() [1/2]

Default constructor.

◆ ShaderBoundResourceDesc() [2/2]

template<typename T >
nkGraphics::ShaderBoundResourceDesc< T >::ShaderBoundResourceDesc ( unsigned int  slot,
unsigned int  space,
T *  resource 
)

Filling constructor.

Parameters
slotThe register slot used.
spaceThe register space used.
resourceThe resource fed.

◆ ~ShaderBoundResourceDesc()

Destructor.


The documentation for this class was generated from the following file: