#include <ShaderPrograms.h>
◆ MinimumLightingProgram()
MinimumLightingProgram::MinimumLightingProgram |
( |
| ) |
|
◆ ~MinimumLightingProgram()
MinimumLightingProgram::~MinimumLightingProgram |
( |
| ) |
|
◆ activate()
void MinimumLightingProgram::activate |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
void MinimumLightingProgram::initialize |
( |
| ) |
|
|
overridevirtual |
◆ maxNumLights()
int MinimumLightingProgram::maxNumLights |
( |
| ) |
const |
|
overridevirtual |
◆ setLight()
bool MinimumLightingProgram::setLight |
( |
int |
index, |
|
|
const SgLight * |
light, |
|
|
const Isometry3 & |
T, |
|
|
const Isometry3 & |
view, |
|
|
bool |
shadowCasting |
|
) |
| |
|
overridevirtual |
◆ setMaterial()
void MinimumLightingProgram::setMaterial |
( |
const SgMaterial * |
material | ) |
|
|
overridevirtual |
◆ setNumLights()
void MinimumLightingProgram::setNumLights |
( |
int |
n | ) |
|
|
overridevirtual |
◆ setTransform()
- Parameters
-
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 |
- Note
- L is used when the vertex positions are expressed as normalized ([-1.0, 1.0]) integer value
Reimplemented from cnoid::ShaderProgram.
The documentation for this class was generated from the following files: