22 static void parse(std::vector<std::string> values,
void* dst, SType type);
24 static int parseInt(
const char* value);
25 static float parseFloat(
const char* value);
26 static bool parseBool(
const char* value);
29 static vec2 parseVec2(std::vector<std::string> values);
30 static vec3 parseVec3(std::vector<std::string> values);
31 static vec4 parseVec4(std::vector<std::string> values);
39 static TYPE* parseResources(
const char* value);
40 static STexture* parseTexture(
const char* value);
41 static SFrameBuffer* parseFrameBuffer(
const char* value);
42 static SMaterial* parseMaterial(
const char* value);
45 static SComponent* parseComponent(
const char* value);
46 static SGameObject* parseGameObject(
const char* value);
48 static SType GetType(std::string type);
49 static SType GetType(
unsigned int type);
51 static std::string ToString(SType type);