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

#include <Uniform.h>

Public Member Functions

 UniformBlock ()
 
 UniformBlock (const std::string &nameIn, bool isArrayIn, unsigned int arrayElementIn)
 
 UniformBlock (const UniformBlock &other)=default
 
UniformBlockoperator= (const UniformBlock &other)=default
 
std::string nameWithArrayIndex () const
 

Public Attributes

std::string name
 
bool isArray
 
unsigned int arrayElement
 
unsigned int dataSize
 
bool vertexStaticUse
 
bool fragmentStaticUse
 
bool computeStaticUse
 
std::vector< unsigned int > memberUniformIndexes
 

Constructor & Destructor Documentation

◆ UniformBlock() [1/3]

gl::UniformBlock::UniformBlock ( )

◆ UniformBlock() [2/3]

gl::UniformBlock::UniformBlock ( const std::string nameIn,
bool  isArrayIn,
unsigned int  arrayElementIn 
)

◆ UniformBlock() [3/3]

gl::UniformBlock::UniformBlock ( const UniformBlock other)
default

Member Function Documentation

◆ nameWithArrayIndex()

std::string gl::UniformBlock::nameWithArrayIndex ( ) const

◆ operator=()

UniformBlock& gl::UniformBlock::operator= ( const UniformBlock other)
default

Member Data Documentation

◆ arrayElement

unsigned int gl::UniformBlock::arrayElement

◆ computeStaticUse

bool gl::UniformBlock::computeStaticUse

◆ dataSize

unsigned int gl::UniformBlock::dataSize

◆ fragmentStaticUse

bool gl::UniformBlock::fragmentStaticUse

◆ isArray

bool gl::UniformBlock::isArray

◆ memberUniformIndexes

std::vector<unsigned int> gl::UniformBlock::memberUniformIndexes

◆ name

std::string gl::UniformBlock::name

◆ vertexStaticUse

bool gl::UniformBlock::vertexStaticUse

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