static ComponentType GetComponentType()

in GLTFSDK/Inc/GLTFSDK/GLTF.h [455:474]


            static ComponentType GetComponentType(uint32_t value)
            {
                switch (value)
                {
                case COMPONENT_BYTE:
                    return COMPONENT_BYTE;
                case COMPONENT_UNSIGNED_BYTE:
                    return COMPONENT_UNSIGNED_BYTE;
                case COMPONENT_SHORT:
                    return COMPONENT_SHORT;
                case COMPONENT_UNSIGNED_SHORT:
                    return COMPONENT_UNSIGNED_SHORT;
                case COMPONENT_UNSIGNED_INT:
                    return COMPONENT_UNSIGNED_INT;
                case COMPONENT_FLOAT:
                    return COMPONENT_FLOAT;
                default:
                    return COMPONENT_UNKNOWN;
                }
            }