Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/gawain/immediate.h
| Context not available. | |||||
| void immUniform4f(const char* name, float x, float y, float z, float w); | void immUniform4f(const char* name, float x, float y, float z, float w); | ||||
| void immUniform4fv(const char* name, const float data[4]); | void immUniform4fv(const char* name, const float data[4]); | ||||
| // get current value of a uniform attribute | |||||
| void immGetUniform4fv(const char* name, float params[]); | |||||
merwin: Hmmm do we want this? Or redesign calling code to not need this?
Let me think about it some… | |||||
punyaAuthorUnsubmitted Not Done Inline ActionsRedesigned to get rid of this call. punya: Redesigned to get rid of this call. | |||||
| // convenience functions for setting "uniform vec4 color" | // convenience functions for setting "uniform vec4 color" | ||||
| // the rgb functions have implicit alpha = 1.0 | // the rgb functions have implicit alpha = 1.0 | ||||
| Context not available. | |||||
Hmmm do we want this? Or redesign calling code to not need this?
Let me think about it some more...