File indexing completed on 2025-01-18 10:04:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _RWGltf_GltfRootElement_HeaderFile
0016 #define _RWGltf_GltfRootElement_HeaderFile
0017
0018
0019 enum RWGltf_GltfRootElement
0020 {
0021 RWGltf_GltfRootElement_Asset,
0022 RWGltf_GltfRootElement_Scenes,
0023 RWGltf_GltfRootElement_Scene,
0024 RWGltf_GltfRootElement_Nodes,
0025 RWGltf_GltfRootElement_Meshes,
0026 RWGltf_GltfRootElement_Accessors,
0027 RWGltf_GltfRootElement_BufferViews,
0028 RWGltf_GltfRootElement_Buffers,
0029 RWGltf_GltfRootElement_NB_MANDATORY,
0030
0031 RWGltf_GltfRootElement_Animations = RWGltf_GltfRootElement_NB_MANDATORY,
0032 RWGltf_GltfRootElement_Materials,
0033 RWGltf_GltfRootElement_Programs,
0034 RWGltf_GltfRootElement_Samplers,
0035 RWGltf_GltfRootElement_Shaders,
0036 RWGltf_GltfRootElement_Skins,
0037 RWGltf_GltfRootElement_Techniques,
0038 RWGltf_GltfRootElement_Textures,
0039 RWGltf_GltfRootElement_Images,
0040 RWGltf_GltfRootElement_ExtensionsUsed,
0041 RWGltf_GltfRootElement_ExtensionsRequired,
0042 RWGltf_GltfRootElement_NB
0043 };
0044
0045
0046 inline const char* RWGltf_GltfRootElementName (RWGltf_GltfRootElement theElem)
0047 {
0048 static const char* THE_ROOT_NAMES[RWGltf_GltfRootElement_NB] =
0049 {
0050 "asset",
0051 "scenes",
0052 "scene",
0053 "nodes",
0054 "meshes",
0055 "accessors",
0056 "bufferViews",
0057 "buffers",
0058 "animations",
0059 "materials",
0060 "programs",
0061 "samplers",
0062 "shaders",
0063 "skins",
0064 "techniques",
0065 "textures",
0066 "images",
0067 "extensionsUsed",
0068 "extensionsRequired"
0069 };
0070 return THE_ROOT_NAMES[theElem];
0071 }
0072
0073 #endif