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

FragmentProcessorNV Class Reference

Inheritance diagram for FragmentProcessorNV:

Inheritance graph
Collaboration diagram for FragmentProcessorNV:

Collaboration graph
List of all members.

Public Member Functions

virtual void disable ()
virtual void enable ()
 FragmentProcessorNV ()
virtual void parameter (fp::Parameter, const float *)
virtual void parameter (fp::Parameter, float, float, float, float)
virtual void use (unsigned int)
virtual ~FragmentProcessorNV ()

Constructor & Destructor Documentation

FragmentProcessorNV::FragmentProcessorNV  ) 
 

Definition at line 181 of file fragmentprog.cpp.

00182 {
00183 }

FragmentProcessorNV::~FragmentProcessorNV  )  [virtual]
 

Definition at line 185 of file fragmentprog.cpp.

00186 {
00187 }


Member Function Documentation

void FragmentProcessorNV::disable  )  [virtual]
 

Implements FragmentProcessor.

Definition at line 194 of file fragmentprog.cpp.

References GL_FRAGMENT_PROGRAM_NV.

00195 {
00196     glDisable(GL_FRAGMENT_PROGRAM_NV);
00197 }

void FragmentProcessorNV::enable  )  [virtual]
 

Implements FragmentProcessor.

Definition at line 189 of file fragmentprog.cpp.

References GL_FRAGMENT_PROGRAM_NV.

00190 {
00191     glEnable(GL_FRAGMENT_PROGRAM_NV);
00192 }

void FragmentProcessorNV::parameter fp::Parameter  ,
const float * 
[virtual]
 

Implements FragmentProcessor.

Definition at line 211 of file fragmentprog.cpp.

References GL_FRAGMENT_PROGRAM_NV, and glx::glProgramLocalParameter4fvARB.

00212 {
00213     glx::glProgramLocalParameter4fvARB(GL_FRAGMENT_PROGRAM_NV, param, fv);
00214 }

void FragmentProcessorNV::parameter fp::Parameter  ,
float  ,
float  ,
float  ,
float 
[virtual]
 

Implements FragmentProcessor.

Definition at line 204 of file fragmentprog.cpp.

References GL_FRAGMENT_PROGRAM_NV, and glx::glProgramLocalParameter4fARB.

00206 {
00207     glx::glProgramLocalParameter4fARB(GL_FRAGMENT_PROGRAM_NV,
00208                                       param, x, y, z, w);
00209 }

void FragmentProcessorNV::use unsigned  int  )  [virtual]
 

Implements FragmentProcessor.

Definition at line 199 of file fragmentprog.cpp.

References GL_FRAGMENT_PROGRAM_NV, and glx::glBindProgramNV.

00200 {
00201     glx::glBindProgramNV(GL_FRAGMENT_PROGRAM_NV, prog);
00202 }


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