Choreonoid  1.8
Public Member Functions | List of all members
cnoid::ShadowMapProgram Class Reference

#include <ShaderPrograms.h>

Inheritance diagram for cnoid::ShadowMapProgram:
cnoid::NolightingProgram cnoid::ShaderProgram

Public Member Functions

 ShadowMapProgram (FullLightingProgram *mainProgram)
 
virtual void initialize () override
 
virtual void activate () override
 
void initializeShadowMapBuffer ()
 
virtual void deactivate () override
 
- Public Member Functions inherited from cnoid::NolightingProgram
 NolightingProgram ()
 
 ~NolightingProgram ()
 
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 ()
 
GLSLProgramglslProgram ()
 
virtual void release ()
 
bool isActive () const
 
virtual void setMaterial (const SgMaterial *material)
 
virtual void setVertexColorEnabled (bool on)
 
int capabilities () const
 
bool hasCapability (int capability) const
 

Additional Inherited Members

- Public Types inherited from cnoid::ShaderProgram
enum  Capability { NoCapability = 0, Lighting = 1, Transparency = 2 }
 
- Protected Member Functions inherited from cnoid::NolightingProgram
 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)
 

Constructor & Destructor Documentation

◆ ShadowMapProgram()

ShadowMapProgram::ShadowMapProgram ( FullLightingProgram mainProgram)

Member Function Documentation

◆ activate()

void ShadowMapProgram::activate ( )
overridevirtual

Reimplemented from cnoid::ShaderProgram.

◆ deactivate()

void ShadowMapProgram::deactivate ( )
overridevirtual

Reimplemented from cnoid::ShaderProgram.

◆ initialize()

void ShadowMapProgram::initialize ( )
overridevirtual

Reimplemented from cnoid::NolightingProgram.

◆ initializeShadowMapBuffer()

void ShadowMapProgram::initializeShadowMapBuffer ( )

The documentation for this class was generated from the following files: