IShader struct
Shader interface.
Contents
- Reference
Base classes
- struct IDeviceObject
- Base interface for all objects created by the render device Diligent::
IRenderDevice.
Derived classes
- struct IShaderD3D
- Exposes Direct3D-specific functionality of a shader object.
- struct IShaderGL
- Exposes OpenGL-specific functionality of a shader object.
- class IShaderMtl
- Exposes Metal-specific functionality of a shader object.
- class IShaderVk
- Exposes Vulkan-specific functionality of a shader object.
Public functions
- auto GetDesc() const -> const ShaderDesc&METHOD() override
- Returns the shader description.
- auto GetResourceCount() const -> Uint32 METHOD() virtual
- Returns the total number of shader resources.
- auto GetResourceDesc(Uint32 Index, ShaderResourceDesc& ResourceDesc) const -> void METHOD() virtual
- Returns the pointer to the array of shader resources.