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

Kernel Class Reference

The Program class. More...

#include <kernel.h>

List of all members.

Public Member Functions

 Kernel (FragmentProgram *fragment, VertexProgram *vertex=NULL)
void setOutput (Texture *out)
void run ()


Detailed Description

The Program class.


Constructor & Destructor Documentation

Kernel::Kernel FragmentProgram fragment,
VertexProgram vertex = NULL
 

The Program constructor.

Parameters:
fragment A pointer to a src object, that contains the fragment program.
vertex A pointer to a src object, that contains the vertex program. I NULL, a copy vertex program is used.


Member Function Documentation

void Kernel::run  ) 
 

Run the program. Return output of program to output texture.

void Kernel::setOutput Texture out  ) 
 

Set the output.

Parameters:
out A pointer to the output texture.


Generated on Sun Jan 9 19:22:06 2005 for libGPGPU by doxygen 1.3.6