#include <StdMeshMaterial.h>
Public Member Functions | |
StdMeshMaterialProgram (const char *name, const StdMeshMaterialShader *fragment_shader, const StdMeshMaterialShader *vertex_shader, const StdMeshMaterialShader *geometry_shader) | |
bool | AddParameterNames (const StdMeshMaterialShaderParameters ¶meters) |
bool | IsCompiled () const |
bool | Compile (StdMeshMaterialLoader &loader) |
const C4Shader * | GetShader (int ssc) const |
int | GetParameterIndex (const char *name) const |
const StdMeshMaterialShader * | GetFragmentShader () const |
const StdMeshMaterialShader * | GetVertexShader () const |
const StdMeshMaterialShader * | GetGeometryShader () const |
Definition at line 156 of file StdMeshMaterial.h.
StdMeshMaterialProgram::StdMeshMaterialProgram | ( | const char * | name, |
const StdMeshMaterialShader * | fragment_shader, | ||
const StdMeshMaterialShader * | vertex_shader, | ||
const StdMeshMaterialShader * | geometry_shader | ||
) |
Definition at line 813 of file StdMeshMaterial.cpp.
bool StdMeshMaterialProgram::AddParameterNames | ( | const StdMeshMaterialShaderParameters & | parameters | ) |
Definition at line 821 of file StdMeshMaterial.cpp.
References StdMeshMaterialShaderParameters::NamedParameters.
Referenced by StdMeshMatManager::AddProgram().
bool StdMeshMaterialProgram::Compile | ( | StdMeshMaterialLoader & | loader | ) |
Definition at line 897 of file StdMeshMaterial.cpp.
Referenced by StdMeshMatManager::AddProgram().
|
inline |
Definition at line 168 of file StdMeshMaterial.h.
Referenced by StdMeshMaterialPass::ProgramInstance::ProgramInstance().
|
inline |
Definition at line 170 of file StdMeshMaterial.h.
Referenced by StdMeshMaterialPass::ProgramInstance::ProgramInstance().
int StdMeshMaterialProgram::GetParameterIndex | ( | const char * | name | ) | const |
Definition at line 929 of file StdMeshMaterial.cpp.
References C4SSU_Count.
const C4Shader * StdMeshMaterialProgram::GetShader | ( | int | ssc | ) | const |
Definition at line 908 of file StdMeshMaterial.cpp.
|
inline |
Definition at line 169 of file StdMeshMaterial.h.
Referenced by StdMeshMaterialPass::ProgramInstance::ProgramInstance().
|
inline |
Definition at line 162 of file StdMeshMaterial.h.
References C4Shader::Initialised().
Referenced by StdMeshMatManager::AddProgram().