GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::gltf Namespace Reference

Classes

struct  SourceLocation
 Line and column numbers of a location in a glTF source string. More...
struct  Error
 Exception type for errors originating from the glTF API. More...
struct  BinChunkData
 Reference to Asset::binChunk, i.e. the data of the BIN chunk in a binary glTF Asset. More...
struct  InlineData
 Inline data URI in a glTF Asset. More...
struct  RelativePath
 Relative path URI in a glTF Asset. More...
struct  Accessor
 Typed view into a buffer view that contains raw binary data in a glTF Asset. More...
struct  Animation
 Keyframe animation in a glTF Asset. More...
struct  Buffer
 Reference to binary geometry, animation, or skins in a glTF Asset. More...
struct  BufferView
 View into a buffer, generally representing a subset of the buffer, in a glTF Asset. More...
struct  Camera
 Camera projection in a glTF Asset. More...
struct  Image
 Image data used to create a texture in a glTF Asset. More...
struct  TextureInfo
 Reference to a texture in a glTF Asset. More...
struct  Material
 Material appearance of a primitive in a glTF Asset. More...
struct  Mesh
 Set of primitives to be rendered in a glTF Asset. More...
struct  Node
 Node in the node hierarchy of a glTF Asset. More...
struct  Sampler
 Texture sampler properties for filtering and wrapping modes in a glTF Asset. More...
struct  Scene
 The root nodes of a scene in a glTF Asset. More...
struct  Skin
 Joints and matrices defining a skin in a glTF Asset. More...
struct  Texture
 Information about a texture and its sampler in a glTF Asset. More...
struct  Asset
 The root object for a glTF asset. More...

Typedefs

using AccessorIndex = size_t
 Index into Asset::accessors.
using BufferIndex = size_t
 Index into Asset::buffers.
using BufferViewIndex = size_t
 Index into Asset::bufferViews.
using CameraIndex = size_t
 Index into Asset::cameras.
using ImageIndex = size_t
 Index into Asset::images.
using MaterialIndex = size_t
 Index into Asset::materials.
using MeshIndex = size_t
 Index into Asset::meshes.
using NodeIndex = size_t
 Index into Asset::nodes.
using SamplerIndex = size_t
 Index into Asset::samplers.
using SceneIndex = size_t
 Index into Asset::scenes.
using SkinIndex = size_t
 Index into Asset::skins.
using TextureIndex = size_t
 Index into Asset::textures.
using URI = Variant<BinChunkData, InlineData, RelativePath>
 URI in a glTF Asset.

Variables

constexpr Array SUPPORTED_EXTENSIONS
 Extensions supported by the glTF parser.

Typedef Documentation

◆ AccessorIndex

using grem::gltf::AccessorIndex = size_t

Index into Asset::accessors.

◆ BufferIndex

using grem::gltf::BufferIndex = size_t

Index into Asset::buffers.

◆ BufferViewIndex

Index into Asset::bufferViews.

◆ CameraIndex

using grem::gltf::CameraIndex = size_t

Index into Asset::cameras.

◆ ImageIndex

using grem::gltf::ImageIndex = size_t

Index into Asset::images.

◆ MaterialIndex

using grem::gltf::MaterialIndex = size_t

Index into Asset::materials.

◆ MeshIndex

using grem::gltf::MeshIndex = size_t

Index into Asset::meshes.

◆ NodeIndex

using grem::gltf::NodeIndex = size_t

Index into Asset::nodes.

◆ SamplerIndex

using grem::gltf::SamplerIndex = size_t

Index into Asset::samplers.

◆ SceneIndex

using grem::gltf::SceneIndex = size_t

Index into Asset::scenes.

◆ SkinIndex

using grem::gltf::SkinIndex = size_t

Index into Asset::skins.

◆ TextureIndex

using grem::gltf::TextureIndex = size_t

Index into Asset::textures.

◆ URI

URI in a glTF Asset.

See the glTF 2.0 API Reference Guide and specification for more info.

Variable Documentation

◆ SUPPORTED_EXTENSIONS

Array grem::gltf::SUPPORTED_EXTENSIONS
inlineconstexpr
Initial value:
{
CStringView{"KHR_texture_transform"},
CStringView{"KHR_texture_basisu"},
CStringView{"KHR_materials_emissive_strength"},
CStringView{"KHR_materials_unlit"},
CStringView{"KHR_materials_ior"},
CStringView{"KHR_node_visibility"},
CStringView{"KHR_lights_punctual"},
CStringView{"KHR_implicit_shapes"},
CStringView{"KHR_physics_rigid_bodies"},
}
CStringViewBase< char, std::char_traits< char > > CStringView
Definition CStringView.hpp:635

Extensions supported by the glTF parser.