RetroArch
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
glslang::TSampler Struct Reference

#include <Types.h>

Public Member Functions

unsigned int getVectorSize () const
 
bool isImage () const
 
bool isSubpass () const
 
bool isCombined () const
 
bool isPureSampler () const
 
bool isTexture () const
 
bool isShadow () const
 
bool isArrayed () const
 
bool isMultiSample () const
 
bool hasReturnStruct () const
 
void clear ()
 
void set (TBasicType t, TSamplerDim d, bool a=false, bool s=false, bool m=false)
 
void setImage (TBasicType t, TSamplerDim d, bool a=false, bool s=false, bool m=false)
 
void setTexture (TBasicType t, TSamplerDim d, bool a=false, bool s=false, bool m=false)
 
void setSubpass (TBasicType t, bool m=false)
 
void setPureSampler (bool s)
 
bool operator== (const TSampler &right) const
 
bool operator!= (const TSampler &right) const
 
TString getString () const
 

Public Attributes

TBasicType type: 8
 
TSamplerDim dim: 8
 
bool arrayed: 1
 
bool shadow: 1
 
bool ms: 1
 
bool image: 1
 
bool combined: 1
 
bool sampler: 1
 
bool external: 1
 
unsigned int vectorSize: 3
 
unsigned int structReturnIndex: structReturnIndexBits
 

Static Public Attributes

static const unsigned structReturnIndexBits = 4
 
static const unsigned structReturnSlots = (1<<structReturnIndexBits)-1
 
static const unsigned noReturnStruct = structReturnSlots
 

Member Function Documentation

◆ clear()

void glslang::TSampler::clear ( )
inline
Here is the caller graph for this function:

◆ getString()

TString glslang::TSampler::getString ( ) const
inline

◆ getVectorSize()

unsigned int glslang::TSampler::getVectorSize ( ) const
inline

◆ hasReturnStruct()

bool glslang::TSampler::hasReturnStruct ( ) const
inline

◆ isArrayed()

bool glslang::TSampler::isArrayed ( ) const
inline

◆ isCombined()

bool glslang::TSampler::isCombined ( ) const
inline

◆ isImage()

bool glslang::TSampler::isImage ( ) const
inline
Here is the caller graph for this function:

◆ isMultiSample()

bool glslang::TSampler::isMultiSample ( ) const
inline
Here is the caller graph for this function:

◆ isPureSampler()

bool glslang::TSampler::isPureSampler ( ) const
inline
Here is the caller graph for this function:

◆ isShadow()

bool glslang::TSampler::isShadow ( ) const
inline
Here is the caller graph for this function:

◆ isSubpass()

bool glslang::TSampler::isSubpass ( ) const
inline
Here is the caller graph for this function:

◆ isTexture()

bool glslang::TSampler::isTexture ( ) const
inline
Here is the caller graph for this function:

◆ operator!=()

bool glslang::TSampler::operator!= ( const TSampler right) const
inline
Here is the call graph for this function:

◆ operator==()

bool glslang::TSampler::operator== ( const TSampler right) const
inline
Here is the caller graph for this function:

◆ set()

void glslang::TSampler::set ( TBasicType  t,
TSamplerDim  d,
bool  a = false,
bool  s = false,
bool  m = false 
)
inline
Here is the call graph for this function:

◆ setImage()

void glslang::TSampler::setImage ( TBasicType  t,
TSamplerDim  d,
bool  a = false,
bool  s = false,
bool  m = false 
)
inline
Here is the call graph for this function:

◆ setPureSampler()

void glslang::TSampler::setPureSampler ( bool  s)
inline
Here is the call graph for this function:

◆ setSubpass()

void glslang::TSampler::setSubpass ( TBasicType  t,
bool  m = false 
)
inline
Here is the call graph for this function:

◆ setTexture()

void glslang::TSampler::setTexture ( TBasicType  t,
TSamplerDim  d,
bool  a = false,
bool  s = false,
bool  m = false 
)
inline
Here is the call graph for this function:

Member Data Documentation

◆ arrayed

bool glslang::TSampler::arrayed

◆ combined

bool glslang::TSampler::combined

◆ dim

TSamplerDim glslang::TSampler::dim

◆ external

bool glslang::TSampler::external

◆ image

bool glslang::TSampler::image

◆ ms

bool glslang::TSampler::ms

◆ noReturnStruct

const unsigned glslang::TSampler::noReturnStruct = structReturnSlots
static

◆ sampler

bool glslang::TSampler::sampler

◆ shadow

bool glslang::TSampler::shadow

◆ structReturnIndex

unsigned int glslang::TSampler::structReturnIndex

◆ structReturnIndexBits

const unsigned glslang::TSampler::structReturnIndexBits = 4
static

◆ structReturnSlots

const unsigned glslang::TSampler::structReturnSlots = (1<<structReturnIndexBits)-1
static

◆ type

TBasicType glslang::TSampler::type

◆ vectorSize

unsigned int glslang::TSampler::vectorSize

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