nw::gfx::ShaderProgram Classclass ShaderProgram : public nw::gfx::GfxObject
Executable shader program that can link combinations of multiple shader types.
| Set/Get | ||
|---|---|---|
ActivateDescription
|
Activates detailed settings. | |
| ActivateShaderProgramMode | Sets the geometry shader mode. | |
DeactivateDescription
|
Deactivates detailed settings. | |
GetActiveDescription
|
Gets the resource. | |
IsParticleShader
|
Determines whether the input is a particle shader. | |
| Vertex attribute | ||
GetVertexAttributeIndex
|
Gets the index of the vertex attribute. | |
| Shader Constants | ||
SetProjection
|
Sets the projection matrix. | |
SetViewMatrix
|
Sets the view matrix. | |
SetWorldMatrix
|
Sets the world matrix. | |
SetModelNormalMatrix
|
Sets the model normal matrix. | |
| NW_DEPRECATED_FUNCTION | Sets the flag that specifies that bones should use normal matrices. Deprecated. | |
SetUniversal
|
Sets the value of the universal register. | |
| SetUserVertexUniform | Sets parameters in the user vertex shader. | |
| SetUserGeometryUniform | Sets parameters for the user geometry register. | |
SetVertexUniformBool
|
Sets a bool value. |
|
SetGeometryUniformBool
|
Sets a bool value. |
|
SetVertexUniformInt
|
Sets values for int types. |
|
SetGeometryUniformInt
|
Sets values for int types. |
|
FlushUniform
|
Flushes the VertexUniform and GeometryUniform states to commands. |
|
| Create/Destroy | ||
Destroy
|
Destroys an object.(Derived from GfxObject.) |
|
| Other | ||
ShaderProgram
|
Constructor. | |
nw::gfx::GfxObject
nw::gfx::ShaderProgram
CONFIDENTIAL