Searched refs:nameToTypeMap (Results 1 – 1 of 1) sorted by relevance
50 static SymbolNameToTypeMap* nameToTypeMap = 0; in builtInAttributeNameToTypeMap() local51 if (!nameToTypeMap) { in builtInAttributeNameToTypeMap()52 nameToTypeMap = new SymbolNameToTypeMap; in builtInAttributeNameToTypeMap()53 nameToTypeMap->set("a_meshCoord", SH_FLOAT_VEC2); in builtInAttributeNameToTypeMap()54 nameToTypeMap->set("a_position", SH_FLOAT_VEC4); in builtInAttributeNameToTypeMap()55 nameToTypeMap->set("a_texCoord", SH_FLOAT_VEC2); in builtInAttributeNameToTypeMap()56 nameToTypeMap->set("a_triangleCoord", SH_FLOAT_VEC3); in builtInAttributeNameToTypeMap()58 return nameToTypeMap; in builtInAttributeNameToTypeMap()63 static SymbolNameToTypeMap* nameToTypeMap = 0; in builtInUniformNameToTypeMap() local64 if (!nameToTypeMap) { in builtInUniformNameToTypeMap()[all …]