Oolite 1.91.0.7644-241112-7f5034b
|
Go to the source code of this file.
Classes | |
class | OOShaderUniformTypeMethodSignatureTemplateClass |
Macros | |
#define | GET_TEMPLATE(enumValue, sel) |
Functions | |
static void | InitTemplates (void) |
static const char * | CopyTemplateForSelector (SEL selector) |
OOShaderUniformType | OOShaderUniformTypeFromMethodSignature (NSMethodSignature *signature) |
long long | OOCallIntegerMethod (id object, SEL selector, IMP method, OOShaderUniformType type) |
double | OOCallFloatMethod (id object, SEL selector, IMP method, OOShaderUniformType type) |
Variables | |
static BOOL | sInited = NO |
static const char * | sTemplates [kOOShaderUniformTypeCount] |
__pad0__ | |
#define GET_TEMPLATE | ( | enumValue, | |
sel ) |
Referenced by InitTemplates().
|
static |
Definition at line 130 of file OOShaderUniformMethodType.m.
References nil.
|
static |
Definition at line 103 of file OOShaderUniformMethodType.m.
References OOShaderUniformTypeMethodSignatureTemplateClass::doubleMethod, OOShaderUniformTypeMethodSignatureTemplateClass::floatMethod, GET_TEMPLATE, OOShaderUniformTypeMethodSignatureTemplateClass::hpvectorMethod, OOShaderUniformTypeMethodSignatureTemplateClass::idMethod, kOOShaderUniformTypeChar, kOOShaderUniformTypeDouble, kOOShaderUniformTypeFloat, kOOShaderUniformTypeHPVector, kOOShaderUniformTypeInt, kOOShaderUniformTypeLong, kOOShaderUniformTypeMatrix, kOOShaderUniformTypeObject, kOOShaderUniformTypePoint, kOOShaderUniformTypeQuaternion, kOOShaderUniformTypeShort, kOOShaderUniformTypeUnsignedChar, kOOShaderUniformTypeUnsignedInt, kOOShaderUniformTypeUnsignedLong, kOOShaderUniformTypeUnsignedShort, kOOShaderUniformTypeVector, OOShaderUniformTypeMethodSignatureTemplateClass::matrixMethod, OOShaderUniformTypeMethodSignatureTemplateClass::pointMethod, OOShaderUniformTypeMethodSignatureTemplateClass::quaternionMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedCharMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedIntMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedLongMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedShortMethod, sInited, OOShaderUniformTypeMethodSignatureTemplateClass::unsignedCharMethod, OOShaderUniformTypeMethodSignatureTemplateClass::unsignedIntMethod, OOShaderUniformTypeMethodSignatureTemplateClass::unsignedLongMethod, OOShaderUniformTypeMethodSignatureTemplateClass::unsignedShortMethod, and OOShaderUniformTypeMethodSignatureTemplateClass::vectorMethod.
Referenced by OOShaderUniformTypeFromMethodSignature().
double OOCallFloatMethod | ( | id | object, |
SEL | selector, | ||
IMP | method, | ||
OOShaderUniformType | type ) |
Definition at line 288 of file OOShaderUniformMethodType.m.
long long OOCallIntegerMethod | ( | id | object, |
SEL | selector, | ||
IMP | method, | ||
OOShaderUniformType | type ) |
Definition at line 248 of file OOShaderUniformMethodType.m.
References kOOShaderUniformTypeChar, kOOShaderUniformTypeInt, kOOShaderUniformTypeLong, kOOShaderUniformTypeLongLong, kOOShaderUniformTypeShort, kOOShaderUniformTypeUnsignedChar, kOOShaderUniformTypeUnsignedInt, kOOShaderUniformTypeUnsignedLong, kOOShaderUniformTypeUnsignedLongLong, and kOOShaderUniformTypeUnsignedShort.
OOShaderUniformType OOShaderUniformTypeFromMethodSignature | ( | NSMethodSignature * | signature | ) |
Definition at line 62 of file OOShaderUniformMethodType.m.
References EXPECT_NOT, InitTemplates(), kOOShaderUniformTypeCount, kOOShaderUniformTypeInvalid, sInited, and sTemplates.
Referenced by OOJSCallMethodSignatureTemplateClass::objectObjectMethod:.
__pad0__ |
Definition at line 288 of file OOShaderUniformMethodType.m.
|
static |
Definition at line 55 of file OOShaderUniformMethodType.m.
Referenced by InitTemplates(), and OOShaderUniformTypeFromMethodSignature().
|
static |
Definition at line 56 of file OOShaderUniformMethodType.m.
Referenced by OOShaderUniformTypeFromMethodSignature().