Choreonoid
1.8
|
#include <ShaderPrograms.h>
Public Member Functions | |
NolightingProgram () | |
~NolightingProgram () | |
virtual void | initialize () override |
virtual void | setTransform (const Matrix4 &PV, const Isometry3 &V, const Affine3 &M, const Matrix4 *L) override |
Public Member Functions inherited from cnoid::ShaderProgram | |
virtual | ~ShaderProgram () |
GLSLProgram & | glslProgram () |
virtual void | release () |
virtual void | activate () |
virtual void | deactivate () |
bool | isActive () const |
virtual void | setMaterial (const SgMaterial *material) |
virtual void | setVertexColorEnabled (bool on) |
int | capabilities () const |
bool | hasCapability (int capability) const |
Protected Member Functions | |
NolightingProgram (std::initializer_list< ShaderSource > sources) | |
Protected Member Functions inherited from cnoid::ShaderProgram | |
ShaderProgram ()=default | |
ShaderProgram (std::initializer_list< ShaderSource > sources) | |
void | setCapability (int capability) |
Additional Inherited Members | |
Public Types inherited from cnoid::ShaderProgram | |
enum | Capability { NoCapability = 0, Lighting = 1, Transparency = 2 } |
NolightingProgram::NolightingProgram | ( | ) |
NolightingProgram::~NolightingProgram | ( | ) |
|
protected |
|
overridevirtual |
Reimplemented from cnoid::ShaderProgram.
Reimplemented in cnoid::ShadowMapProgram, cnoid::OutlineProgram, cnoid::SolidPointProgram, cnoid::ThickLineProgram, cnoid::SolidColorExProgram, and cnoid::SolidColorProgram.
|
overridevirtual |
PV | Product of the project matrix and view matrix |
V | The transform corresponding to the view matrix |
M | The transform corresponding to the model matrix |
L | The transform corresponding to the local vertex transform matrix |
Reimplemented from cnoid::ShaderProgram.
Reimplemented in cnoid::OutlineProgram, and cnoid::SolidPointProgram.