#include <RadientMaterials.h>
Public Member Functions | |
| operator bool () const | |
| Returns true if the handle is initialized. | |
| bool | operator== (const RadientMaterialParameterHandle &Rhs) const |
| Compares two parameter handles. | |
| bool | operator!= (const RadientMaterialParameterHandle &Rhs) const |
| Compares two parameter handles. | |
Public Attributes | |
| RadientHandle | Definition = InvalidRadientHandle |
| Uint32 | Index = ~Uint32{0} |
| Uint32 | Reserved = 0 |
| Reserved for future use. Must be zero. | |
Opaque parameter handle resolved by a material definition.
A handle is only valid for the definition that created it. Applications should resolve handles once and use them for runtime updates instead of repeatedly looking parameters up by name.
| RadientHandle Diligent::RadientMaterialParameterHandle::Definition = InvalidRadientHandle |
Opaque identity of the material definition that created the handle. Applications must not modify this value.