Diligent Engine  v.2.4.g
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Diligent::PipelineResourceAttribsGL Struct Reference

#include <PipelineResourceAttribsGL.hpp>

Public Member Functions

 PipelineResourceAttribsGL (Uint32 _CacheOffset, Uint32 _SamplerInd, bool _ImtblSamplerAssigned) noexcept
 
bool IsSamplerAssigned () const
 
bool IsImmutableSamplerAssigned () const
 
bool IsCompatibleWith (const PipelineResourceAttribsGL &rhs) const
 
size_t GetHash () const
 

Public Attributes

const Uint32 CacheOffset
 
const Uint32 SamplerInd: _SamplerIndBits
 
const Uint32 ImtblSamplerAssigned: _SamplerAssignedBits
 

Static Public Attributes

static constexpr Uint32 InvalidCacheOffset = ~0u
 
static constexpr Uint32 InvalidSamplerInd = (1u << _SamplerIndBits) - 1
 

Constructor & Destructor Documentation

◆ PipelineResourceAttribsGL()

Diligent::PipelineResourceAttribsGL::PipelineResourceAttribsGL ( Uint32  _CacheOffset,
Uint32  _SamplerInd,
bool  _ImtblSamplerAssigned 
)
inlinenoexcept

Member Function Documentation

◆ GetHash()

size_t Diligent::PipelineResourceAttribsGL::GetHash ( ) const
inline

◆ IsCompatibleWith()

bool Diligent::PipelineResourceAttribsGL::IsCompatibleWith ( const PipelineResourceAttribsGL rhs) const
inline

◆ IsImmutableSamplerAssigned()

bool Diligent::PipelineResourceAttribsGL::IsImmutableSamplerAssigned ( ) const
inline

◆ IsSamplerAssigned()

bool Diligent::PipelineResourceAttribsGL::IsSamplerAssigned ( ) const
inline

Member Data Documentation

◆ CacheOffset

const Uint32 Diligent::PipelineResourceAttribsGL::CacheOffset

◆ ImtblSamplerAssigned

const Uint32 Diligent::PipelineResourceAttribsGL::ImtblSamplerAssigned

◆ InvalidCacheOffset

constexpr Uint32 Diligent::PipelineResourceAttribsGL::InvalidCacheOffset = ~0u
staticconstexpr

◆ InvalidSamplerInd

constexpr Uint32 Diligent::PipelineResourceAttribsGL::InvalidSamplerInd = (1u << _SamplerIndBits) - 1
staticconstexpr

◆ SamplerInd

const Uint32 Diligent::PipelineResourceAttribsGL::SamplerInd

The documentation for this struct was generated from the following file: