ProgramShader Class Reference

#include <ProgramShader.h>

Inherits X3D::X3DShaderNode.

Collaboration diagram for ProgramShader:

Collaboration graph

Public Member Functions

AP_Bool Init (void)
 Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.
 ProgramShader (const AP_Xml &xml, SFNode scene)
void Render (void)
virtual ~ProgramShader (void)

Protected Attributes

MFNode _m_programs
AP_Sint32 _m_PShaders

Constructor & Destructor Documentation

ProgramShader ( const AP_Xml xml,
SFNode  scene 
)

~ProgramShader ( void   )  [virtual]


Member Function Documentation

AP_Bool Init ( void   )  [virtual]

Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.

Reimplemented from X3DNode.

void Render ( void   )  [virtual]

Reimplemented from X3DNode.


Field Documentation

MFNode _m_programs [protected]

AP_Sint32 _m_PShaders [protected]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8