template<typename EngineImplTraits>
ShaderBase class
Template class implementing base functionality of the shader object.
| Template parameters | |
|---|---|
| EngineImplTraits | - Engine implementation type traits. |
Contents
Base classes
-
template<class BaseInterface, typename RenderDeviceImplType, typename ObjectDescType>class DeviceObjectBase<EngineImplTraits::ShaderInterface, EngineImplTraits::RenderDeviceImplType, ShaderDesc>
- Template class implementing base functionality of the device object.
Constructors, destructors, conversion operators
- ShaderBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const ShaderDesc& ShdrDesc, bool bIsDeviceInternal = false)
Function documentation
template<typename EngineImplTraits>
Diligent:: ShaderBase<EngineImplTraits>:: ShaderBase(IReferenceCounters* pRefCounters,
RenderDeviceImplType* pDevice,
const ShaderDesc& ShdrDesc,
bool bIsDeviceInternal = false)
| Parameters | |
|---|---|
| pRefCounters | - Reference counters object that controls the lifetime of this shader. |
| pDevice | - Pointer to the device. |
| ShdrDesc | - Shader description. |
| bIsDeviceInternal | - Flag indicating if the shader is an internal device object and must not keep a strong reference to the device. |