xoreos
0.0.5
|
#include <shader.h>
Classes | |
struct | ShaderObjectVariable |
Public Member Functions | |
ShaderObject () | |
Public Member Functions inherited from Graphics::GLContainer | |
GLContainer () | |
~GLContainer () | |
void | rebuild () |
void | destroy () |
Public Member Functions inherited from Graphics::Queueable | |
Queueable () | |
virtual | ~Queueable () |
virtual bool | operator< (const Queueable &q) const |
Public Attributes | |
uint32 | usageCount |
uint32 | id |
GLuint | glid |
ShaderType | type |
Common::UString | shaderString |
std::vector< ShaderObject::ShaderObjectVariable > | variablesSelf |
std::vector< ShaderObject::ShaderObjectVariable > | variablesCombined |
std::vector< ShaderObject * > | subObjects |
Protected Member Functions | |
void | doRebuild () |
void | doDestroy () |
Protected Member Functions inherited from Graphics::Queueable | |
bool | isInQueue (QueueType queue) const |
void | addToQueue (QueueType queue) |
void | removeFromQueue (QueueType queue) |
void | lockQueue (QueueType queue) |
void | unlockQueue (QueueType queue) |
void | sortQueue (QueueType queue) |
Graphics::Shader::ShaderObject::ShaderObject | ( | ) |
Definition at line 48 of file shader.cpp.
|
protectedvirtual |
|
protectedvirtual |
Implements Graphics::GLContainer.
Definition at line 51 of file shader.cpp.
GLuint Graphics::Shader::ShaderObject::glid |
Definition at line 201 of file shader.h.
Referenced by doDestroy(), Graphics::Shader::ShaderManager::genGLShader(), Graphics::Shader::ShaderManager::getShaderObject(), and Graphics::Shader::ShaderManager::registerShaderAttachment().
uint32 Graphics::Shader::ShaderObject::id |
Definition at line 200 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::getShaderObject(), Graphics::Shader::ShaderManager::getShaderProgram(), and Graphics::Shader::ShaderManager::registerShaderProgram().
Common::UString Graphics::Shader::ShaderObject::shaderString |
Definition at line 203 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::getShaderObject().
std::vector<ShaderObject *> Graphics::Shader::ShaderObject::subObjects |
Definition at line 207 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::genShaderVariableList(), and Graphics::Shader::ShaderManager::registerShaderAttachment().
ShaderType Graphics::Shader::ShaderObject::type |
Definition at line 202 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::genGLShader(), and Graphics::Shader::ShaderManager::getShaderObject().
uint32 Graphics::Shader::ShaderObject::usageCount |
Definition at line 199 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::registerShaderProgram(), Graphics::Shader::ShaderMaterial::ShaderMaterial(), and Graphics::Shader::ShaderSurface::ShaderSurface().
std::vector<ShaderObject::ShaderObjectVariable> Graphics::Shader::ShaderObject::variablesCombined |
Definition at line 206 of file shader.h.
Referenced by Graphics::Shader::ShaderMaterial::bindFade(), Graphics::Shader::ShaderSurface::bindObjectModelview(), Graphics::Shader::ShaderMaterial::bindProgram(), Graphics::Shader::ShaderSurface::bindProgram(), Graphics::Shader::ShaderMaterial::bindProgramNoFade(), Graphics::Shader::ShaderManager::bindShaderInstance(), Graphics::Shader::ShaderSurface::bindTextureView(), Graphics::Shader::ShaderMaterial::delMaterialVar(), Graphics::Shader::ShaderSurface::delSurfaceVar(), Graphics::Shader::ShaderManager::genGLProgram(), Graphics::Shader::ShaderMaterial::genMaterialVar(), Graphics::Shader::ShaderSurface::genSurfaceVar(), Graphics::Shader::ShaderManager::getShaderObject(), Graphics::Shader::ShaderSurface::getVariableCount(), Graphics::Shader::ShaderMaterial::getVariableCount(), Graphics::Shader::ShaderSurface::getVariableData(), Graphics::Shader::ShaderMaterial::getVariableData(), Graphics::Shader::ShaderSurface::getVariableName(), Graphics::Shader::ShaderMaterial::getVariableName(), Graphics::Shader::ShaderSurface::getVariableType(), Graphics::Shader::ShaderMaterial::getVariableType(), Graphics::Shader::ShaderSurface::isVariableOwned(), Graphics::Shader::ShaderMaterial::isVariableOwned(), Graphics::Shader::ShaderInstance::rebindFragmentVariable(), Graphics::Shader::ShaderInstance::rebindVertexVariable(), Graphics::Shader::ShaderMaterial::recalcTextureUnits(), Graphics::Shader::ShaderInstance::setFragmentVariable(), Graphics::Shader::ShaderSurface::setVariableExternal(), Graphics::Shader::ShaderMaterial::setVariableExternal(), Graphics::Shader::ShaderSurface::setVariableInternal(), Graphics::Shader::ShaderMaterial::setVariableInternal(), Graphics::Shader::ShaderInstance::setVertexVariable(), Graphics::Shader::ShaderInstance::ShaderInstance(), Graphics::Shader::ShaderMaterial::ShaderMaterial(), and Graphics::Shader::ShaderSurface::ShaderSurface().
std::vector<ShaderObject::ShaderObjectVariable> Graphics::Shader::ShaderObject::variablesSelf |
Definition at line 205 of file shader.h.
Referenced by Graphics::Shader::ShaderManager::genShaderVariableList(), and Graphics::Shader::ShaderManager::getShaderObject().