#include <isphere_shading.h>
Private Member Functions | |
ISphereShading () | |
Constructor, default. | |
~ISphereShading () | |
Destructor. | |
void | initCg () |
Initialize Cg. | |
void | initGL () |
Initialize GL. | |
void | activate (M3dView &view) const |
Actiate GPU for rendering. | |
void | deactivate () const |
Deactivate after rendering. | |
void | activateFBO () const |
Activate the FBO (make it the current render target). | |
void | deactivateFBO () const |
Dectivate the FBO (default screen becomes render target). | |
void | setLightPosition (MPoint &lightPosition) const |
set the light position parameter in the vertex shader. | |
void | setTransformedLightParameter (M3dView &view) const |
TO BE DOCUMENTED. | |
void | setUniforms (M3dView &view) const |
Set uniform shader parameter. | |
IMaterial * | getMaterial () const |
IShading * | getImpl () const |
Private Attributes | |
IMaterial * | materialProperty |
IShading * | impl |
Friends | |
class | ISphereUI |
module : Implicit Sphere
project : icaster
description: GPU binding