Assimp  v3.1.1 (June 2014)
glTF::GLB_Header Struct Reference

For the KHR_binary_glTF extension (binary .glb file) 20-byte header (+ the JSON + a "body" data section) More...

Public Attributes

uint32_t length
 Total length of the Binary glTF, including header, scene, and body, in bytes. More...
 
uint8_t magic [4]
 Magic number: "glTF". More...
 
uint32_t sceneFormat
 Specifies the format of the glTF scene (see the SceneFormat enum) More...
 
uint32_t sceneLength
 Length, in bytes, of the glTF scene. More...
 
uint32_t version
 Version number (always 1 as of the last update) More...
 

Detailed Description

For the KHR_binary_glTF extension (binary .glb file) 20-byte header (+ the JSON + a "body" data section)

Member Data Documentation

uint32_t glTF::GLB_Header::length

Total length of the Binary glTF, including header, scene, and body, in bytes.

uint8_t glTF::GLB_Header::magic[4]

Magic number: "glTF".

uint32_t glTF::GLB_Header::sceneFormat

Specifies the format of the glTF scene (see the SceneFormat enum)

uint32_t glTF::GLB_Header::sceneLength

Length, in bytes, of the glTF scene.

uint32_t glTF::GLB_Header::version

Version number (always 1 as of the last update)


The documentation for this struct was generated from the following file: