Diligent Engine  v.2.4.g
Public Member Functions | List of all members
Diligent::ShaderVariableIndexLocator Class Reference

Public Member Functions

 ShaderVariableIndexLocator (const ShaderVariableManagerD3D11 &_Mgr, const IShaderResourceVariable &Variable)
 
template<typename ResourceType >
bool TryResource (ShaderVariableManagerD3D11::OffsetType NextResourceTypeOffset)
 
Uint32 GetIndex () const
 
 ShaderVariableIndexLocator (const ShaderVariableManagerGL &_Mgr, const IShaderResourceVariable &Variable)
 
template<typename ResourceType >
bool TryResource (Uint32 NextResourceTypeOffset, Uint32 VarCount)
 
Uint32 GetIndex () const
 

Constructor & Destructor Documentation

◆ ShaderVariableIndexLocator() [1/2]

Diligent::ShaderVariableIndexLocator::ShaderVariableIndexLocator ( const ShaderVariableManagerD3D11 _Mgr,
const IShaderResourceVariable Variable 
)
inline

◆ ShaderVariableIndexLocator() [2/2]

Diligent::ShaderVariableIndexLocator::ShaderVariableIndexLocator ( const ShaderVariableManagerGL _Mgr,
const IShaderResourceVariable Variable 
)
inline

Member Function Documentation

◆ GetIndex() [1/2]

Uint32 Diligent::ShaderVariableIndexLocator::GetIndex ( ) const
inline

◆ GetIndex() [2/2]

Uint32 Diligent::ShaderVariableIndexLocator::GetIndex ( ) const
inline

◆ TryResource() [1/2]

template<typename ResourceType >
bool Diligent::ShaderVariableIndexLocator::TryResource ( ShaderVariableManagerD3D11::OffsetType  NextResourceTypeOffset)
inline

◆ TryResource() [2/2]

template<typename ResourceType >
bool Diligent::ShaderVariableIndexLocator::TryResource ( Uint32  NextResourceTypeOffset,
Uint32  VarCount 
)
inline

The documentation for this class was generated from the following files: