#include <ShaderPrograms.h>
◆ Capability
Enumerator |
---|
NoCapability | |
Lighting | |
Transparency | |
◆ ~ShaderProgram()
ShaderProgram::~ShaderProgram |
( |
| ) |
|
|
virtual |
◆ ShaderProgram() [1/2]
cnoid::ShaderProgram::ShaderProgram |
( |
| ) |
|
|
protecteddefault |
◆ ShaderProgram() [2/2]
ShaderProgram::ShaderProgram |
( |
std::initializer_list< ShaderSource > |
sources | ) |
|
|
protected |
◆ activate()
void ShaderProgram::activate |
( |
| ) |
|
|
virtual |
◆ capabilities()
int cnoid::ShaderProgram::capabilities |
( |
| ) |
const |
|
inline |
◆ deactivate()
void ShaderProgram::deactivate |
( |
| ) |
|
|
virtual |
◆ glslProgram()
◆ hasCapability()
bool cnoid::ShaderProgram::hasCapability |
( |
int |
capability | ) |
const |
|
inline |
◆ initialize()
void ShaderProgram::initialize |
( |
| ) |
|
|
virtual |
Reimplemented in cnoid::ShadowMapProgram, cnoid::FullLightingProgram, cnoid::MaterialLightingProgram, cnoid::BasicLightingProgram, cnoid::MinimumLightingProgram, cnoid::OutlineProgram, cnoid::SolidPointProgram, cnoid::ThickLineProgram, cnoid::SolidColorExProgram, cnoid::SolidColorProgram, and cnoid::NolightingProgram.
◆ isActive()
bool ShaderProgram::isActive |
( |
| ) |
const |
◆ release()
void ShaderProgram::release |
( |
| ) |
|
|
virtual |
◆ setCapability()
void cnoid::ShaderProgram::setCapability |
( |
int |
capability | ) |
|
|
inlineprotected |
◆ setMaterial()
void ShaderProgram::setMaterial |
( |
const SgMaterial * |
material | ) |
|
|
virtual |
◆ setTransform()
◆ setVertexColorEnabled()
void ShaderProgram::setVertexColorEnabled |
( |
bool |
on | ) |
|
|
virtual |
The documentation for this class was generated from the following files: