The glTF specification packs data into buffers, labelling the type of each part with an integer. The first six values in gltfTypes are the integers used there, with "int" and "double" added for completeness; those values are taken from OpenGL header files.

gltfTypes

Format

gltfTypes is simply a named vector containing integer values.

Details

These are used in the Buffer object.

Examples

gltfTypes
#>   byte  ubyte  short ushort   uint  float    int double 
#>   5120   5121   5122   5123   5125   5126   5124   5130