GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
tinygltf::Accessor Struct Reference

#include <tiny_gltf.h>

Collaboration diagram for tinygltf::Accessor:

Public Member Functions

int ByteStride (const BufferView &bufferViewObject) const
 Accessor ()
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
ExtensionMap extensions
std::string extras_json_string
std::string extensions_json_string
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

Constructor & Destructor Documentation

◆ Accessor()

tinygltf::Accessor::Accessor ( )
inline
Here is the caller graph for this function:

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.

◆ operator==()

bool tinygltf::Accessor::operator== ( const tinygltf::Accessor & ) const

Member Data Documentation

◆ bufferView

int tinygltf::Accessor::bufferView

◆ byteOffset [1/2]

int tinygltf::Accessor::byteOffset

◆ byteOffset [2/2]

size_t tinygltf::Accessor::byteOffset

◆ componentType

int tinygltf::Accessor::componentType

◆ count [1/2]

int tinygltf::Accessor::count

◆ count [2/2]

size_t tinygltf::Accessor::count

◆ extensions

ExtensionMap tinygltf::Accessor::extensions

◆ extensions_json_string

std::string tinygltf::Accessor::extensions_json_string

◆ extras

Value tinygltf::Accessor::extras

◆ extras_json_string

std::string tinygltf::Accessor::extras_json_string

◆ [struct]

struct { ... } tinygltf::Accessor::indices

◆ isSparse

bool tinygltf::Accessor::isSparse

◆ maxValues

std::vector<double> tinygltf::Accessor::maxValues

◆ minValues

std::vector<double> tinygltf::Accessor::minValues

◆ name

std::string tinygltf::Accessor::name

◆ normalized

bool tinygltf::Accessor::normalized

◆ [struct]

struct { ... } tinygltf::Accessor::sparse

◆ type

int tinygltf::Accessor::type

◆ [struct]

struct { ... } tinygltf::Accessor::values

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