Gorilla.GLTF.Model

Unit Gorilla.GLTF.Model.pas

Classes

Records

Enumerations

  • enum  TGLTFDataType  = ( dtUndefined, dtScalar, dtVec2, dtVec3, dtVec4, dtMat2, dtMat3, dtMat4 ) ;
  • enum  TGLTFComponentType  = ( ctUnknown, ctByte, ctUByte, ctShort, ctUShort, ctUInt, ctFloat ) ;

Constants

  • const GLTF_COMPONENT_BYTE : Integer = $1400;
  • const GLTF_COMPONENT_UBYTE : Integer = $1401;
  • const GLTF_COMPONENT_SHORT : Integer = $1402;
  • const GLTF_COMPONENT_USHORT : Integer = $1403;
  • const GLTF_COMPONENT_UINT : Integer = $1405;
  • const GLTF_COMPONENT_FLOAT : Integer = $1406;
  • const GLTF_PRIMITVE_MODE_POINTS : Integer = $0;
  • const GLTF_PRIMITVE_MODE_LINES : Integer = $1;
  • const GLTF_PRIMITVE_MODE_LINE_LOOP : Integer = $2;
  • const GLTF_PRIMITVE_MODE_LINE_STRIP : Integer = $3;
  • const GLTF_PRIMITVE_MODE_TRIANGLES : Integer = $4;
  • const GLTF_PRIMITVE_MODE_TRIANGLE_STRIP : Integer = $5;
  • const GLTF_PRIMITVE_MODE_TRIANGLE_FAN : Integer = $6;
  • const GLTF_ATTRIBUTE_POSITION : string = "POSITION";
  • const GLTF_ATTRIBUTE_NORMAL : string = "NORMAL";
  • const GLTF_ATTRIBUTE_TANGENT : string = "TANGENT";
  • const GLTF_ATTRIBUTE_TEXCOORD_X : string = "TEXCOORD_%%d";
  • const GLTF_ATTRIBUTE_TEXCOORD_0 : string = "TEXCOORD_0";
  • const GLTF_ATTRIBUTE_TEXCOORD_1 : string = "TEXCOORD_1";
  • const GLTF_ATTRIBUTE_TEXCOORD_2 : string = "TEXCOORD_2";
  • const GLTF_ATTRIBUTE_TEXCOORD_3 : string = "TEXCOORD_3";
  • const GLTF_ATTRIBUTE_COLOR_X : string = "COLOR_%%d";
  • const GLTF_ATTRIBUTE_COLOR_0 : string = "COLOR_0";
  • const GLTF_ATTRIBUTE_COLOR_1 : string = "COLOR_1";
  • const GLTF_ATTRIBUTE_COLOR_2 : string = "COLOR_2";
  • const GLTF_ATTRIBUTE_COLOR_3 : string = "COLOR_3";
  • const GLTF_ATTRIBUTE_JOINTS_X : string = "JOINTS_%%d";
  • const GLTF_ATTRIBUTE_JOINTS_0 : string = "JOINTS_0";
  • const GLTF_ATTRIBUTE_WEIGHTS_X : string = "WEIGHTS_%%d";
  • const GLTF_ATTRIBUTE_WEIGHTS_0 : string = "WEIGHTS_0";
  • const GLTF_TARGET_ARRAY_BUFFER : Integer = $8892;
  • const GLTF_TARGET_ELEMENT_ARRAY_BUFFER : Integer = $8893;
  • const GLTF_COMPONENT_COUNT : array[0..7] of Byte = ;
  • const GLTF_COMPONENT_SIZE : array[0..6] of Byte = ;

Mics. types

  • type PVector4I = pointer to TVector4I;
  • type PVector4US = pointer to TVector4US;
  • type PGLTFBuffer = pointer to TGLTFBuffer;
  • type PGLTFBufferView = pointer to TGLTFBufferView;
  • type PGLTFAccessor = pointer to TGLTFAccessor;

TGLTFAccessor

Fields

Methods

TGLTFNode

Ancestors

Members

Fields

Methods

Properties

TGLTFModel

Ancestors

Members

Fields

Methods