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

#include <ShaderVars.h>

Inheritance diagram for sh::ShaderVariable:
sh::InterfaceBlockField sh::InterfaceBlockField sh::InterfaceVariable sh::InterfaceVariable sh::Uniform sh::Uniform sh::Varying sh::Varying

Public Member Functions

 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

GLenum type
 
GLenum precision
 
std::string name
 
std::string mappedName
 
unsigned int arraySize
 
bool staticUse
 
std::vector< ShaderVariablefields
 
std::string structName
 

Protected Member Functions

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

◆ ShaderVariable() [1/6]

sh::ShaderVariable::ShaderVariable ( )

◆ ShaderVariable() [2/6]

sh::ShaderVariable::ShaderVariable ( GLenum  typeIn,
unsigned int  arraySizeIn 
)

◆ ~ShaderVariable() [1/2]

sh::ShaderVariable::~ShaderVariable ( )

◆ ShaderVariable() [3/6]

sh::ShaderVariable::ShaderVariable ( const ShaderVariable other)

◆ ShaderVariable() [4/6]

sh::ShaderVariable::ShaderVariable ( )

◆ ShaderVariable() [5/6]

sh::ShaderVariable::ShaderVariable ( GLenum  typeIn,
unsigned int  arraySizeIn 
)

◆ ~ShaderVariable() [2/2]

sh::ShaderVariable::~ShaderVariable ( )

◆ ShaderVariable() [6/6]

sh::ShaderVariable::ShaderVariable ( const ShaderVariable other)

Member Function Documentation

◆ elementCount() [1/2]

unsigned int sh::ShaderVariable::elementCount ( ) const
inline

◆ elementCount() [2/2]

unsigned int sh::ShaderVariable::elementCount ( ) const
inline

◆ findInfoByMappedName() [1/2]

bool sh::ShaderVariable::findInfoByMappedName ( const std::string mappedFullName,
const ShaderVariable **  leafVar,
std::string originalFullName 
) const

◆ findInfoByMappedName() [2/2]

bool sh::ShaderVariable::findInfoByMappedName ( const std::string mappedFullName,
const ShaderVariable **  leafVar,
std::string originalFullName 
) const

◆ isArray() [1/2]

bool sh::ShaderVariable::isArray ( ) const
inline

◆ isArray() [2/2]

bool sh::ShaderVariable::isArray ( ) const
inline

◆ isBuiltIn() [1/2]

bool sh::ShaderVariable::isBuiltIn ( ) const
inline

◆ isBuiltIn() [2/2]

bool sh::ShaderVariable::isBuiltIn ( ) const
inline

◆ isSameVariableAtLinkTime() [1/2]

bool sh::ShaderVariable::isSameVariableAtLinkTime ( const ShaderVariable other,
bool  matchPrecision 
) const
protected

◆ isSameVariableAtLinkTime() [2/2]

bool sh::ShaderVariable::isSameVariableAtLinkTime ( const ShaderVariable other,
bool  matchPrecision 
) const
protected

◆ isStruct() [1/2]

bool sh::ShaderVariable::isStruct ( ) const
inline

◆ isStruct() [2/2]

bool sh::ShaderVariable::isStruct ( ) const
inline

◆ operator!=() [1/2]

bool sh::ShaderVariable::operator!= ( const ShaderVariable other) const
inlineprotected

◆ operator!=() [2/2]

bool sh::ShaderVariable::operator!= ( const ShaderVariable other) const
inlineprotected

◆ operator=() [1/2]

ShaderVariable& sh::ShaderVariable::operator= ( const ShaderVariable other)

◆ operator=() [2/2]

ShaderVariable & sh::ShaderVariable::operator= ( const ShaderVariable other)

◆ operator==() [1/2]

bool sh::ShaderVariable::operator== ( const ShaderVariable other) const
protected

◆ operator==() [2/2]

bool sh::ShaderVariable::operator== ( const ShaderVariable other) const
protected

Member Data Documentation

◆ arraySize

unsigned int sh::ShaderVariable::arraySize

◆ fields

std::vector< ShaderVariable > sh::ShaderVariable::fields

◆ mappedName

std::string sh::ShaderVariable::mappedName

◆ name

std::string sh::ShaderVariable::name

◆ precision

GLenum sh::ShaderVariable::precision

◆ staticUse

bool sh::ShaderVariable::staticUse

◆ structName

std::string sh::ShaderVariable::structName

◆ type

GLenum sh::ShaderVariable::type

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