RavEngine
Loading...
Searching...
No Matches
tinygltf::Accessor Struct Reference
Collaboration diagram for tinygltf::Accessor:
[legend]

Public Member Functions

int ByteStride (const BufferView &bufferViewObject) const
 
bool operator== (const tinygltf::Accessor &) const
 

Public Attributes

int bufferView
 
std::string name
 
size_t byteOffset
 
bool normalized
 
int componentType
 
size_t count
 
int type
 
Value extras
 
std::vector< double > minValues
 
std::vector< double > maxValues
 
struct { 
 
   int   count 
 
   bool   isSparse 
 
   struct { 
 
      int   byteOffset 
 
      int   bufferView 
 
      int   componentType 
 
   }   indices 
 
   struct { 
 
      int   bufferView 
 
      int   byteOffset 
 
   }   values 
 
} sparse 
 

Member Function Documentation

◆ ByteStride()

int tinygltf::Accessor::ByteStride ( const BufferView &  bufferViewObject) const
inline

Utility function to compute byteStride for a given bufferView object. Returns -1 upon invalid glTF value or parameter configuration.


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