Main Page   Compound List   File List   Compound Members   File Members  

CgBind Class Reference

A single bind point for a CgProgram. More...

#include <cgbinding.h>

List of all members.

Public Methods

 CgBind (void)
 CgBind (VertexBindingType b, unsigned int handle)
bool Activate (CgBinding *bindings, unsigned int program_handle, void *context1, void *context2)


Detailed Description

A single bind point for a CgProgram.

This class manages a single binding point between a particular instance of a Cg vertex program fragment and remaps it to a logical VertexBindingType. The application must be able to provide the data that is needed for this bind point. For example the world*view*projection matrix.

See also:
enum VertexBindingType
Warning:
To minimize dependencies the internal bind point handle is case to a generic unsigned int
Author:
John W. Ratcliff
Date:
July 18, 2002


Constructor & Destructor Documentation

CgBind::CgBind void    [inline]
 

CgBind::CgBind VertexBindingType    b,
unsigned int    handle
[inline]
 


Member Function Documentation

bool CgBind::Activate CgBinding   bindings,
unsigned int    program_handle,
void *    context1,
void *    context2
 


The documentation for this class was generated from the following files:
Generated on Thu Jul 18 19:07:37 2002 for CgBinding by doxygen1.2.17