Lines Matching defs:name
73 void defineConstant(const char* type, const char* name, const char* value) {
74 this->definitions().appendf("const %s %s = %s;\n", type, name, value);
77 void defineConstant(const char* name, int value) {
78 this->definitions().appendf("const int %s = %i;\n", name, value);
81 void defineConstant(const char* name, float value) {
82 this->definitions().appendf("const float %s = %f;\n", name, value);
85 void defineConstantf(const char* type, const char* name, const char* fmt, ...) {
86 this->definitions().appendf("const %s %s = ", type, name);
98 // Generates a unique variable name for holding the result of a temporary expression when it's
134 * Generates a mangled name for a helper function in the fragment shader. Will give consistent