|
| | diguyOsgGraphicsShaderInstance (void *internal_data) |
| | 4 Header files and forward declarations More...
|
| |
| | ~diguyOsgGraphicsShaderInstance () |
| |
| osg::StateSet * | get_state_set () |
| |
| diguyGraphicsShaderTechnique * | get_shader_technique () |
| | This function returns the shader technique this shader instance is associated with. More...
|
| |
| const float * | get_shader_matrix_data_ptr () |
| | This function returns a pointer to shader matrix data. More...
|
| |
| diguyCharacter * | get_character () |
| | This function returns a pointer to the character that this shader instance is associated with. More...
|
| |
| virtual int | bind () |
| | This function will be called by DI-Guy when it is time for the object that this shader instance is attached to to be rendered. More...
|
| |
| virtual int | unbind () |
| | This function will be called by DI-Guy when the object this shader is attached to is done being rendered. More...
|
| |
| int | get_num_variables () |
| |
| const char * | get_variable_name_at_index (int index) |
| |
| int | has_variable (const char *name) |
| |
| const char * | get_variable_type (const char *name) |
| |
| void | reset_variables_to_initial_values () |
| |
| void | reset_variables_to_program_defaults () |
| |
| int | set_variable_float (const char *name, float value, int set_current=1, int set_initial=0, float blend_time=0.0f) |
| |
| int | set_variable_vec2 (const char *name, float x, float y, int set_current=1, int set_initial=0, float blend_time=0.0f) |
| |
| int | set_variable_vec3 (const char *name, float x, float y, float z, int set_current=1, int set_initial=0, float blend_time=0.0f) |
| |
| int | set_variable_vec4 (const char *name, float x, float y, float z, float w, int set_current=1, int set_initial=0, float blend_time=0.0f) |
| |
| int | set_variable_int (const char *name, int value, int set_current=1, int set_initial=0) |
| |
| int | get_variable_float (const char *name, float *value, int get_current=1) |
| |
| int | get_variable_vec2 (const char *name, float *x, float *y, int get_current=1) |
| |
| int | get_variable_vec3 (const char *name, float *x, float *y, float *z, int get_current=1) |
| |
| int | get_variable_vec4 (const char *name, float *r, float *g, float *b, float *a, int get_current=1) |
| |
| int | get_variable_int (const char *name, int *value, int get_current=1) |
| |
| diguyGraphicsShaderProgram * | get_shader_program () |
| | Deprecated Functions: changed due to API restructuring More...
|
| |
| int | get_num_link_matrices () |
| | This function has been deprecated. More...
|
| |
| virtual int | update_link_matrices (int num_matrices, const float *mat_data) |
| | This function has been deprecated as of DI-Guy 12. More...
|
| |
| bdiShaderProgramInstance * | get_internal_data () |
| |