#include <cgbinding.h>
Public Methods | |
CgVertexShader (int guid, VertexBindingFormat format, unsigned int handle) | |
int | GetGuid (void) const |
void | AddBinding (VertexBindingType type, unsigned int bind_handle) |
bool | Activate (void) |
Make this vertex shader program active on the hardware. | |
bool | ActivateBindings (CgBinding *bindings, void *context1, void *context2) |
Applies all of the dynamic bindings between the application and the vertex shader program. |
This class represents a single instance of a vertex program for a specific vertex format.
|
|
|
Make this vertex shader program active on the hardware.
|
|
Applies all of the dynamic bindings between the application and the vertex shader program.
This method iterates through all of the run-time bindings and performs a callback for each to the application to get the current data.
|
|
|
|
|