Holds information about a resource linked in a shader for feeding. More...
Public Member Functions | |
ShaderBoundResourceDesc () noexcept=default | |
ShaderBoundResourceDesc (unsigned int slot, unsigned int space, T *resource) noexcept | |
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.
|
defaultnoexcept |
Default constructor.
|
noexcept |
Filling constructor.
slot | The register slot used. |
space | The register space used. |
resource | The resource fed. |