webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
gl::LinkedUniform Struct Reference

#include <Uniform.h>

Inheritance diagram for gl::LinkedUniform:
sh::Uniform sh::ShaderVariable sh::ShaderVariable

Public Member Functions

 LinkedUniform ()
 
 LinkedUniform (GLenum type, GLenum precision, const std::string &name, unsigned int arraySize, const int blockIndex, const sh::BlockMemberInfo &blockInfo)
 
 LinkedUniform (const sh::Uniform &uniform)
 
 LinkedUniform (const LinkedUniform &uniform)
 
LinkedUniformoperator= (const LinkedUniform &uniform)
 
 ~LinkedUniform ()
 
size_t dataSize () const
 
uint8_tdata ()
 
const uint8_tdata () const
 
bool isSampler () const
 
bool isInDefaultBlock () const
 
bool isField () const
 
size_t getElementSize () const
 
uint8_tgetDataPtrToElement (size_t elementIndex)
 
const uint8_tgetDataPtrToElement (size_t elementIndex) const
 
- Public Member Functions inherited from sh::Uniform
 Uniform ()
 
 ~Uniform ()
 
 Uniform (const Uniform &other)
 
Uniformoperator= (const Uniform &other)
 
bool operator== (const Uniform &other) const
 
bool operator!= (const Uniform &other) const
 
bool isSameUniformAtLinkTime (const Uniform &other) const
 
 Uniform ()
 
 ~Uniform ()
 
 Uniform (const Uniform &other)
 
Uniformoperator= (const Uniform &other)
 
bool operator== (const Uniform &other) const
 
bool operator!= (const Uniform &other) const
 
bool isSameUniformAtLinkTime (const Uniform &other) const
 
- Public Member Functions inherited from sh::ShaderVariable
 ShaderVariable ()
 
 ShaderVariable (GLenum typeIn, unsigned int arraySizeIn)
 
 ~ShaderVariable ()
 
 ShaderVariable (const ShaderVariable &other)
 
ShaderVariableoperator= (const ShaderVariable &other)
 
bool isArray () const
 
unsigned int elementCount () const
 
bool isStruct () const
 
bool findInfoByMappedName (const std::string &mappedFullName, const ShaderVariable **leafVar, std::string *originalFullName) const
 
bool isBuiltIn () const
 
 ShaderVariable ()
 
 ShaderVariable (GLenum typeIn, unsigned int arraySizeIn)
 
 ~ShaderVariable ()
 
 ShaderVariable (const ShaderVariable &other)
 
ShaderVariableoperator= (const ShaderVariable &other)
 
bool isArray () const
 
unsigned int elementCount () const
 
bool isStruct () const
 
bool findInfoByMappedName (const std::string &mappedFullName, const ShaderVariable **leafVar, std::string *originalFullName) const
 
bool isBuiltIn () const
 

Public Attributes

int blockIndex
 
sh::BlockMemberInfo blockInfo
 
- Public Attributes inherited from sh::ShaderVariable
GLenum type
 
GLenum precision
 
std::string name
 
std::string mappedName
 
unsigned int arraySize
 
bool staticUse
 
std::vector< ShaderVariablefields
 
std::string structName
 

Additional Inherited Members

- Protected Member Functions inherited from sh::ShaderVariable
bool isSameVariableAtLinkTime (const ShaderVariable &other, bool matchPrecision) const
 
bool operator== (const ShaderVariable &other) const
 
bool operator!= (const ShaderVariable &other) const
 
bool isSameVariableAtLinkTime (const ShaderVariable &other, bool matchPrecision) const
 
bool operator== (const ShaderVariable &other) const
 
bool operator!= (const ShaderVariable &other) const
 

Constructor & Destructor Documentation

◆ LinkedUniform() [1/4]

gl::LinkedUniform::LinkedUniform ( )

◆ LinkedUniform() [2/4]

gl::LinkedUniform::LinkedUniform ( GLenum  type,
GLenum  precision,
const std::string name,
unsigned int  arraySize,
const int  blockIndex,
const sh::BlockMemberInfo blockInfo 
)

◆ LinkedUniform() [3/4]

gl::LinkedUniform::LinkedUniform ( const sh::Uniform uniform)

◆ LinkedUniform() [4/4]

gl::LinkedUniform::LinkedUniform ( const LinkedUniform uniform)

◆ ~LinkedUniform()

gl::LinkedUniform::~LinkedUniform ( )

Member Function Documentation

◆ data() [1/2]

uint8_t * gl::LinkedUniform::data ( )

◆ data() [2/2]

const uint8_t * gl::LinkedUniform::data ( ) const

◆ dataSize()

size_t gl::LinkedUniform::dataSize ( ) const

◆ getDataPtrToElement() [1/2]

uint8_t * gl::LinkedUniform::getDataPtrToElement ( size_t  elementIndex)

◆ getDataPtrToElement() [2/2]

const uint8_t * gl::LinkedUniform::getDataPtrToElement ( size_t  elementIndex) const

◆ getElementSize()

size_t gl::LinkedUniform::getElementSize ( ) const

◆ isField()

bool gl::LinkedUniform::isField ( ) const

◆ isInDefaultBlock()

bool gl::LinkedUniform::isInDefaultBlock ( ) const

◆ isSampler()

bool gl::LinkedUniform::isSampler ( ) const

◆ operator=()

LinkedUniform & gl::LinkedUniform::operator= ( const LinkedUniform uniform)

Member Data Documentation

◆ blockIndex

int gl::LinkedUniform::blockIndex

◆ blockInfo

sh::BlockMemberInfo gl::LinkedUniform::blockInfo

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