#include <cgbinding.h>
Public Methods | |
| CgPixelShader (int guid, unsigned int handle) | |
| int | GetGuid (void) const |
| void | AddBinding (PixelBindingType type, unsigned int bind_handle) |
| bool | Activate (void) |
| Make this pixel 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 pixel shader program. | |
This class represents a single instance of a pixel shader program.
|
||||||||||||
|
|
|
|
Make this pixel shader program active on the hardware.
|
|
||||||||||||||||
|
Applies all of the dynamic bindings between the application and the pixel 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 values.
|
|
||||||||||||
|
|
|
|
|
1.2.17