Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

VertexProcessorNV Class Reference

Inheritance diagram for VertexProcessorNV:

Inheritance graph
Collaboration diagram for VertexProcessorNV:

Collaboration graph
List of all members.

Public Member Functions

virtual void attribArray (unsigned int index, int size, GLenum type, unsigned int stride, const void *pointer)
virtual void disable ()
virtual void disableAttribArray (unsigned int)
virtual void enable ()
virtual void enableAttribArray (unsigned int)
virtual void parameter (vp::Parameter, const float *)
virtual void parameter (vp::Parameter, float, float, float, float)
virtual void use (unsigned int)
 VertexProcessorNV ()
virtual ~VertexProcessorNV ()

Constructor & Destructor Documentation

VertexProcessorNV::VertexProcessorNV  ) 
 

Definition at line 423 of file vertexprog.cpp.

00424 {
00425 }

VertexProcessorNV::~VertexProcessorNV  )  [virtual]
 

Definition at line 427 of file vertexprog.cpp.

00428 {
00429 }


Member Function Documentation

void VertexProcessorNV::attribArray unsigned int  index,
int  size,
GLenum  type,
unsigned int  stride,
const void *  pointer
[virtual]
 

Implements VertexProcessor.

Definition at line 469 of file vertexprog.cpp.

References glx::glVertexAttribPointerNV.

00474 {
00475     glx::glVertexAttribPointerNV(index, size, type, stride, ptr);
00476 }

void VertexProcessorNV::disable  )  [virtual]
 

Implements VertexProcessor.

Definition at line 436 of file vertexprog.cpp.

References GL_VERTEX_PROGRAM_NV.

00437 {
00438     glDisable(GL_VERTEX_PROGRAM_NV);
00439 }

void VertexProcessorNV::disableAttribArray unsigned  int  )  [virtual]
 

Implements VertexProcessor.

Definition at line 464 of file vertexprog.cpp.

References GL_VERTEX_ATTRIB_ARRAY0_NV.

00465 {
00466     glDisableClientState(GL_VERTEX_ATTRIB_ARRAY0_NV + index);
00467 }

void VertexProcessorNV::enable  )  [virtual]
 

Implements VertexProcessor.

Definition at line 431 of file vertexprog.cpp.

References GL_VERTEX_PROGRAM_NV.

00432 {
00433     glEnable(GL_VERTEX_PROGRAM_NV);
00434 }

void VertexProcessorNV::enableAttribArray unsigned  int  )  [virtual]
 

Implements VertexProcessor.

Definition at line 459 of file vertexprog.cpp.

References GL_VERTEX_ATTRIB_ARRAY0_NV.

00460 {
00461     glEnableClientState(GL_VERTEX_ATTRIB_ARRAY0_NV + index);
00462 }

void VertexProcessorNV::parameter vp::Parameter  ,
const float * 
[virtual]
 

Implements VertexProcessor.

Definition at line 453 of file vertexprog.cpp.

References GL_VERTEX_PROGRAM_NV, glx::glProgramParameter4fvNV, and parameterMappings.

00454 {
00455     glx::glProgramParameter4fvNV(GL_VERTEX_PROGRAM_NV,
00456                                  parameterMappings[param], fv);
00457 }

void VertexProcessorNV::parameter vp::Parameter  ,
float  ,
float  ,
float  ,
float 
[virtual]
 

Implements VertexProcessor.

Definition at line 446 of file vertexprog.cpp.

References GL_VERTEX_PROGRAM_NV, glx::glProgramParameter4fNV, and parameterMappings.

00448 {
00449     glx::glProgramParameter4fNV(GL_VERTEX_PROGRAM_NV, 
00450                                 parameterMappings[param], x, y, z, w);
00451 }

void VertexProcessorNV::use unsigned  int  )  [virtual]
 

Implements VertexProcessor.

Definition at line 441 of file vertexprog.cpp.

References GL_VERTEX_PROGRAM_NV, and glx::glBindProgramNV.

00442 {
00443     glx::glBindProgramNV(GL_VERTEX_PROGRAM_NV, prog);
00444 }


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 22:33:42 2006 for Celestia by  doxygen 1.4.1