Go to the documentation of this file.
33 #include "../../../Primitives/interface/BasicTypes.h"
34 #include "../../../Primitives/interface/Object.h"
43 {0xd57df3f, 0x977d, 0x4c8f, {0xb6, 0x4c, 0x66, 0x75, 0x81, 0x4b, 0xc8, 0xc}};
107 #define DILIGENT_INTERFACE_NAME IShaderResourceVariable
108 #include "../../../Primitives/interface/DefineInterfaceHelperMacros.h"
110 #define IShaderResourceVariableInclusiveMethods \
111 IObjectInclusiveMethods; \
112 IShaderResourceVariableMethods ShaderResourceVariable
160 #include "../../../Primitives/interface/UndefInterfaceHelperMacros.h"
162 #if DILIGENT_C_INTERFACE
166 # define IShaderResourceVariable_Set(This, ...) CALL_IFACE_METHOD(ShaderResourceVariable, Set, This, __VA_ARGS__)
167 # define IShaderResourceVariable_SetArray(This, ...) CALL_IFACE_METHOD(ShaderResourceVariable, SetArray, This, __VA_ARGS__)
168 # define IShaderResourceVariable_GetType(This) CALL_IFACE_METHOD(ShaderResourceVariable, GetType, This)
169 # define IShaderResourceVariable_GetResourceDesc(This, ...) CALL_IFACE_METHOD(ShaderResourceVariable, GetResourceDesc, This, __VA_ARGS__)
170 # define IShaderResourceVariable_GetIndex(This) CALL_IFACE_METHOD(ShaderResourceVariable, GetIndex, This)
171 # define IShaderResourceVariable_IsBound(This, ...) CALL_IFACE_METHOD(ShaderResourceVariable, IsBound, This, __VA_ARGS__)
#define DILIGENT_END_INTERFACE
Definition: DefineInterfaceHelperMacros.h:88
@ BIND_SHADER_RESOURCES_UPDATE_STATIC
Indicates that static shader variable bindings are to be updated.
Definition: ShaderResourceVariable.h:76
struct INTERFACE_ID INTERFACE_ID
Definition: InterfaceID.h:54
#define VIRTUAL
Definition: DefineInterfaceHelperMacros.h:83
Shader resource variable.
Definition: ShaderResourceVariable.h:117
#define DILIGENT_BEGIN_INTERFACE(Name, Base)
Definition: CommonDefinitions.h:97
Base interface for all dynamic objects in the engine.
Definition: Object.h:41
@ SHADER_RESOURCE_VARIABLE_TYPE_NUM_TYPES
Total number of shader variable types.
Definition: ShaderResourceVariable.h:65
@ SHADER_RESOURCE_VARIABLE_TYPE_DYNAMIC
Shader variable binding is dynamic. It can be set multiple times for every instance of shader resourc...
Definition: ShaderResourceVariable.h:62
Base interface for all objects created by the render device Diligent::IRenderDevice.
Definition: DeviceObject.h:52
#define THIS
Definition: DefineInterfaceHelperMacros.h:81
@ BIND_SHADER_RESOURCES_UPDATE_MUTABLE
Indicates that mutable shader variable bindings are to be updated.
Definition: ShaderResourceVariable.h:79
#define PURE
Definition: DefineInterfaceHelperMacros.h:85
BIND_SHADER_RESOURCES_FLAGS
Shader resource binding flags.
Definition: ShaderResourceVariable.h:73
@ SHADER_RESOURCE_VARIABLE_TYPE_MUTABLE
Shader resource bound to the variable is specific to the shader resource binding instance (see Dilige...
Definition: ShaderResourceVariable.h:58
#define DILIGENT_END_NAMESPACE
Definition: CommonDefinitions.h:86
#define CONST
Definition: DefineInterfaceHelperMacros.h:84
@ BIND_SHADER_RESOURCES_KEEP_EXISTING
If this flag is specified, all existing bindings will be preserved and only unresolved ones will be u...
Definition: ShaderResourceVariable.h:94
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
@ SHADER_RESOURCE_VARIABLE_TYPE_STATIC
Shader resource bound to the variable is the same for all SRB instances. It must be set once directly...
Definition: ShaderResourceVariable.h:52
#define REF
Definition: DefineGlobalFuncHelperMacros.h:39
#define METHOD(Name)
Definition: DefineInterfaceHelperMacros.h:87
#define DILIGENT_TYPED_ENUM(EnumName, EnumType)
Definition: CommonDefinitions.h:88
Shader resource description.
Definition: Shader.h:390
@ BIND_SHADER_RESOURCES_UPDATE_DYNAMIC
Indicates that dynamic shader variable bindings are to be updated.
Definition: ShaderResourceVariable.h:82
@ BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED
If this flag is specified, all shader bindings are expected to be resolved after the call....
Definition: ShaderResourceVariable.h:102
uint8_t Uint8
8-bit unsigned integer
Definition: BasicTypes.h:53
#define DILIGENT_BEGIN_NAMESPACE(Name)
Definition: CommonDefinitions.h:82
@ BIND_SHADER_RESOURCES_UPDATE_ALL
Indicates that all shader variable types (static, mutable and dynamic) are to be updated.
Definition: ShaderResourceVariable.h:88
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
#define THIS_
Definition: DefineInterfaceHelperMacros.h:82
SHADER_RESOURCE_VARIABLE_TYPE
Describes the type of the shader resource variable.
Definition: ShaderResourceVariable.h:48