Main Page   Compound List   File List   Compound Members   File Members  

CgShader Class Reference

A single instance of a vertexshader for a specific vertex format. More...

#include <cgbinding.h>

List of all members.

Public Methods

 CgShader (int guid, VertexBindingFormat format, unsigned int handle)
int GetGuid (void) const
void AddBinding (VertexBindingType type, unsigned int bind_handle)
bool Activate (void)
bool ActivateBindings (CgBinding *bindings, void *context1, void *context2)


Detailed Description

A single instance of a vertexshader for a specific vertex format.

This class represents a single instance of a vertex program for a specific vertex format.

See also:
enum VertexBindingFormat , class CgBind
Warning:
To minimize dependencies the internal Cg program handle is case to an unsigned int
Author:
John W. Ratcliff
Date:
July 18, 2002


Constructor & Destructor Documentation

CgShader::CgShader int    guid,
VertexBindingFormat    format,
unsigned int    handle
[inline]
 


Member Function Documentation

bool CgShader::Activate void   
 

bool CgShader::ActivateBindings CgBinding   bindings,
void *    context1,
void *    context2
 

void CgShader::AddBinding VertexBindingType    type,
unsigned int    bind_handle
[inline]
 

int CgShader::GetGuid void    const [inline]
 


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