|
| std::map< size_t, TextureType > | textureTypes_ |
| | holds the texture types (second) and the stage id (first). if empty, shader does not support textures
|
| |
Definition at line 83 of file ShaderGenerator.hh.
◆ ShaderGenDesc()
| ACG::ShaderGenDesc::ShaderGenDesc |
( |
| ) |
|
|
inline |
◆ addTextureType()
| void ACG::ShaderGenDesc::addTextureType |
( |
GLenum |
_type, |
|
|
bool |
_shadow, |
|
|
size_t |
_stage |
|
) |
| |
|
inline |
adds a texture type to the shader and enables texturing.
Definition at line 214 of file ShaderGenerator.hh.
◆ clearTextures()
| void ACG::ShaderGenDesc::clearTextures |
( |
| ) |
|
|
inline |
disables texture support and removes all texture types
Definition at line 223 of file ShaderGenerator.hh.
◆ disableTexGen()
| void ACG::ShaderGenDesc::disableTexGen |
( |
| ) |
|
|
inline |
◆ enableTexGenEyeLinear()
| void ACG::ShaderGenDesc::enableTexGenEyeLinear |
( |
int |
_dim = 2 | ) |
|
|
inline |
◆ enableTexGenNormalMap()
| void ACG::ShaderGenDesc::enableTexGenNormalMap |
( |
int |
_dim = 3 | ) |
|
|
inline |
◆ enableTexGenObjectLinear()
| void ACG::ShaderGenDesc::enableTexGenObjectLinear |
( |
int |
_dim = 2 | ) |
|
|
inline |
◆ enableTexGenReflectionMap()
| void ACG::ShaderGenDesc::enableTexGenReflectionMap |
( |
int |
_dim = 3 | ) |
|
|
inline |
◆ enableTexGenSphericalMap()
| void ACG::ShaderGenDesc::enableTexGenSphericalMap |
( |
int |
_dim = 2 | ) |
|
|
inline |
◆ operator==()
| bool ACG::ShaderGenDesc::operator== |
( |
const ShaderGenDesc & |
_rhs | ) |
const |
|
inline |
◆ textured()
| bool ACG::ShaderGenDesc::textured |
( |
| ) |
const |
|
inline |
◆ textureTypes()
| const std::map< size_t, TextureType > & ACG::ShaderGenDesc::textureTypes |
( |
| ) |
const |
|
inline |
◆ toString()
| QString ACG::ShaderGenDesc::toString |
( |
| ) |
const |
◆ clipDistanceMask
| uint ACG::ShaderGenDesc::clipDistanceMask |
◆ colorMaterialMode
| GLenum ACG::ShaderGenDesc::colorMaterialMode |
◆ fragmentTemplateFile
| QString ACG::ShaderGenDesc::fragmentTemplateFile |
◆ geometryTemplateFile
| QString ACG::ShaderGenDesc::geometryTemplateFile |
◆ lightTypes
| ShaderGenLightType ACG::ShaderGenDesc::lightTypes[SG_MAX_SHADER_LIGHTS] |
◆ macros
| QStringList ACG::ShaderGenDesc::macros |
◆ normalizeTexColors
| bool ACG::ShaderGenDesc::normalizeTexColors |
Defines if the textureVariable is normalized or not, if multiple textures are used.
Definition at line 180 of file ShaderGenerator.hh.
◆ numLights
| int ACG::ShaderGenDesc::numLights |
◆ shadeMode
| ShaderGenShadeMode ACG::ShaderGenDesc::shadeMode |
◆ shaderMods
| std::vector<unsigned int> ACG::ShaderGenDesc::shaderMods |
◆ tessControlTemplateFile
| QString ACG::ShaderGenDesc::tessControlTemplateFile |
◆ tessEvaluationTemplateFile
| QString ACG::ShaderGenDesc::tessEvaluationTemplateFile |
◆ texGenDim
| int ACG::ShaderGenDesc::texGenDim |
◆ texGenMode
| GLenum ACG::ShaderGenDesc::texGenMode |
◆ texGenPerFragment
| bool ACG::ShaderGenDesc::texGenPerFragment |
◆ textureTypes_
| std::map<size_t,TextureType> ACG::ShaderGenDesc::textureTypes_ |
|
private |
holds the texture types (second) and the stage id (first). if empty, shader does not support textures
Definition at line 206 of file ShaderGenerator.hh.
◆ twoSidedLighting
| bool ACG::ShaderGenDesc::twoSidedLighting |
◆ version
| int ACG::ShaderGenDesc::version |
◆ vertexColors
| bool ACG::ShaderGenDesc::vertexColors |
◆ vertexColorsInterpolator
| QString ACG::ShaderGenDesc::vertexColorsInterpolator |
interpolation qualifier for input vertex colors: "flat", "smooth", "noperspective"
Definition at line 183 of file ShaderGenerator.hh.
◆ vertexNormalInterpolator
| QString ACG::ShaderGenDesc::vertexNormalInterpolator |
interpolation qualifier for vertex shader normal outputs: "flat", "smooth", "noperspective"
Definition at line 186 of file ShaderGenerator.hh.
◆ vertexTemplateFile
| QString ACG::ShaderGenDesc::vertexTemplateFile |
The documentation for this class was generated from the following files: