

Go to the source code of this file.
Classes | |
| class | base |
| Base class for glTF entities. More... | |
Namespaces | |
| namespace | Foam::glTF |
| Namespace for handling glTF creation. https://www.khronos.org/registry/glTF/. | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
Enumerations | |
| enum class | componentTypes : int { BYTE = 5120 , UNSIGNED_BYTE = 5121 , SHORT = 5122 , UNSIGNED_SHORT = 5123 , UNSIGNED_INT = 5125 , FLOAT = 5126 } |
| enum class | dataTypes { SCALAR , VEC2 , VEC3 , VEC4 , MAT2 , MAT3 , MAT4 } |
| enum class | attributeTypes { POSITION , NORMAL , TANGENT , TEXCOORD_0 , TEXCOORD_1 , COLOR_0 , JOINTS_0 , WEIGHTS_0 } |
| enum class | targetTypes : int { ARRAY_BUFFER = 34962 , ELEMENT_ARRAY_BUFFER = 34963 } |
| enum class | primitiveModes : int { POINTS = 0 , LINES = 1 , LINE_LOOP = 2 , LINE_STRIP = 3 , TRIANGLES = 4 , TRIANGLE_STRIP = 5 , TRIANGLE_FAN = 6 } |
Functions | |
| template<class Type, class = std::enable_if_t<std::is_enum_v<Type>>> | |
| constexpr auto | key (const Type &t) noexcept |
| Helper function to return the enum value. | |
Original source file foamGltfBase.H
Definition in file foamGltfBase.H.