#include <cgbinding.h>
Public Methods | |
| CgVertexBind (void) | |
| CgVertexBind (VertexBindingType b, unsigned int handle) | |
| bool | Activate (CgBinding *bindings, unsigned int program_handle, void *context1, void *context2) |
| Passes the correct value down to the vertex shader program for a single dynamic bind point. | |
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.
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Passes the correct value down to the vertex shader program for a single dynamic bind point.
The application provides the current valid data item for this binding type. If the application returns a null pointer then the value is not updated.
|
1.2.17