OpenGL attribute names and locations, uniform names, etc., to be used by ShaderCore, ShaderCoreFactory, and GeometryCore.
More...
#include "scg_internals.h"
|
static const OGLAttrib | VERTEX = { "vVertex", 0 } |
|
static const OGLAttrib | COLOR = { "vColor", 1 } |
|
static const OGLAttrib | NORMAL = { "vNormal", 2 } |
|
static const OGLAttrib | TEX_COORD_0 = { "vTexCoord0", 3 } |
|
static const OGLAttrib | TEX_COORD_1 = { "vTexCoord1", 4 } |
|
static const OGLAttrib | TANGENT = { "vTangent", 5 } |
|
static const OGLAttrib | BINORMAL = { "vBinormal", 6 } |
|
static const OGLFragData | FRAG_COLOR = { "fragColor", 0 } |
|
static const OGLUniformBlock | LIGHT = { "LightBlock", 0 } |
|
static const OGLUniformBlock | MATERIAL = { "MaterialBlock", 1 } |
|
static const char * | MODEL_VIEW_MATRIX = "modelViewMatrix" |
|
static const char * | PROJECTION_MATRIX = "projectionMatrix" |
|
static const char * | MVP_MATRIX = "mvpMatrix" |
|
static const char * | NORMAL_MATRIX = "normalMatrix" |
|
static const char * | TEXTURE_MATRIX = "textureMatrix" |
|
static const char * | COLOR_MATRIX = "colorMatrix" |
|
static const char * | N_LIGHTS = "nLights" |
|
static const char * | GLOBAL_AMBIENT_LIGHT = "globalAmbientLight" |
|
static const char * | TIME = "time" |
|
static const OGLSampler | TEXTURE0 = { "texture0", 0 } |
|
static const OGLSampler | TEXTURE1 = { "texture1", 1 } |
|
static const int | MAX_NUMBER_OF_LIGHTS = 10 |
|
OpenGL attribute names and locations, uniform names, etc., to be used by ShaderCore, ShaderCoreFactory, and GeometryCore.
Definition at line 263 of file scg_internals.h.
◆ bindAttribFragDataLocations()
void scg::OGLConstants::bindAttribFragDataLocations |
( |
GLuint |
program | ) |
|
|
static |
◆ bindSamplers()
void scg::OGLConstants::bindSamplers |
( |
GLuint |
program | ) |
|
|
static |
◆ bindUniformBlocks()
void scg::OGLConstants::bindUniformBlocks |
( |
GLuint |
program | ) |
|
|
static |
◆ BINORMAL
const OGLAttrib scg::OGLConstants::BINORMAL = { "vBinormal", 6 } |
|
static |
◆ COLOR
const OGLAttrib scg::OGLConstants::COLOR = { "vColor", 1 } |
|
static |
◆ COLOR_MATRIX
const char * scg::OGLConstants::COLOR_MATRIX = "colorMatrix" |
|
static |
◆ FRAG_COLOR
const OGLFragData scg::OGLConstants::FRAG_COLOR = { "fragColor", 0 } |
|
static |
◆ GLOBAL_AMBIENT_LIGHT
const char * scg::OGLConstants::GLOBAL_AMBIENT_LIGHT = "globalAmbientLight" |
|
static |
◆ LIGHT
◆ MATERIAL
◆ MAX_NUMBER_OF_LIGHTS
const int scg::OGLConstants::MAX_NUMBER_OF_LIGHTS = 10 |
|
static |
◆ MODEL_VIEW_MATRIX
const char * scg::OGLConstants::MODEL_VIEW_MATRIX = "modelViewMatrix" |
|
static |
◆ MVP_MATRIX
const char * scg::OGLConstants::MVP_MATRIX = "mvpMatrix" |
|
static |
◆ N_LIGHTS
const char * scg::OGLConstants::N_LIGHTS = "nLights" |
|
static |
◆ NORMAL
const OGLAttrib scg::OGLConstants::NORMAL = { "vNormal", 2 } |
|
static |
◆ NORMAL_MATRIX
const char * scg::OGLConstants::NORMAL_MATRIX = "normalMatrix" |
|
static |
◆ PROJECTION_MATRIX
const char * scg::OGLConstants::PROJECTION_MATRIX = "projectionMatrix" |
|
static |
◆ TANGENT
const OGLAttrib scg::OGLConstants::TANGENT = { "vTangent", 5 } |
|
static |
◆ TEX_COORD_0
const OGLAttrib scg::OGLConstants::TEX_COORD_0 = { "vTexCoord0", 3 } |
|
static |
◆ TEX_COORD_1
const OGLAttrib scg::OGLConstants::TEX_COORD_1 = { "vTexCoord1", 4 } |
|
static |
◆ TEXTURE0
const OGLSampler scg::OGLConstants::TEXTURE0 = { "texture0", 0 } |
|
static |
◆ TEXTURE1
const OGLSampler scg::OGLConstants::TEXTURE1 = { "texture1", 1 } |
|
static |
◆ TEXTURE_MATRIX
const char * scg::OGLConstants::TEXTURE_MATRIX = "textureMatrix" |
|
static |
◆ TIME
const char * scg::OGLConstants::TIME = "time" |
|
static |
◆ VERTEX
const OGLAttrib scg::OGLConstants::VERTEX = { "vVertex", 0 } |
|
static |
The documentation for this class was generated from the following files: