GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
DSGLTF Class Reference
Inheritance diagram for DSGLTF:
Collaboration diagram for DSGLTF:

Public Member Functions

 DSGLTF (DiskStore *ds)
virtual std::string name () const
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
std::string BaseUrl () const
std::string Url () const
unsigned char * get_header () const
int find_block (int id) const
int get_default_scene () const
int accessors_size () const
int animations_size () const
int buffers_size () const
int bufferviews_size () const
int materials_size () const
int meshes_size () const
int nodes_size () const
int textures_size () const
int images_size () const
int skins_size () const
int samplers_size () const
int cameras_size () const
int scenes_size () const
int lights_size () const
unsigned char * get_ptr (int block) const
virtual const tinygltf::Accessor & get_accessor (int i) const
virtual const tinygltf::Animation & get_animation (int i) const
virtual const tinygltf::Buffer & get_buffer (int i) const
virtual const tinygltf::BufferView & get_bufferview (int i) const
virtual const tinygltf::Material & get_material (int i) const
virtual const tinygltf::Mesh & get_mesh (int i) const
virtual const tinygltf::Node & get_node (int i) const
virtual const tinygltf::Texture & get_texture (int i) const
virtual const tinygltf::Image & get_image (int i) const
virtual const tinygltf::Skin & get_skin (int i) const
virtual const tinygltf::Sampler & get_sampler (int i) const
virtual const tinygltf::Camera & get_camera (int i) const
virtual const tinygltf::Scene & get_scene (int i) const
virtual const tinygltf::Light & get_light (int i) const
int accessor_name_size (int a) const
unsigned char accessor_name_char (int a, int ch) const
int accessor_extensions_size (int a) const
int accessor_extensions_size2 (int a) const
std::string accessor_extensions_key (int a, int ext) const
tinygltf::Value accessor_extensions_value (int a, int ext) const
int accessor_extras_size (int a) const
unsigned char accessor_extras_char (int a, int ch) const
int accessor_extensions2_size (int a) const
unsigned char accessor_externsions2_char (int a, int ch) const
int accessor_minvalues_size (int a) const
double accessor_minvalues_get (int a, int val) const
int accessor_maxvalues_size (int a) const
double accessor_maxvalues_get (int a, int val) const
int animation_name_size (int a) const
unsigned char animation_name_get (int a, int ch) const
int animation_channel_size (int a) const
tinygltf::AnimationChannel animation_channel_get (int a, int chan) const
int animation_sampler_size (int a) const
tinygltf::AnimationSampler animation_sampler_get (int a, int chan) const
int buffer_name_size (int b) const
unsigned char buffer_name_get (int b, int ch) const
int buffer_data_size (int b) const
unsigned char buffer_data_get (int b, int ch) const
int buffer_uri_size (int b) const
unsigned char buffer_uri_get (int b, int ch) const
int bufferviews_name_size (int bv) const
unsigned char bufferviews_name_get (int bv, int ch) const
int material_name_size (int bv) const
unsigned char material_name_get (int bv, int ch) const
double material_emissivefactor (int bv, int zero_to_two) const
int material_alphamode_size (int bv) const
unsigned char material_alphamode_get (int bv, int ch) const
tinygltf::PbrMetallicRoughness material_pbr (int bv) const
tinygltf::NormalTextureInfo material_normaltexture (int bv) const
tinygltf::OcclusionTextureInfo material_occlusiontexture (int bv) const
tinygltf::TextureInfo material_textureinfo (int bv) const
int mesh_name_size (int mesh) const
unsigned char mesh_name_get (int mesh, int ch) const
int mesh_primitives_size (int mesh) const
tinygltf::Primitive mesh_primitives_get (int mesh, int prim) const
int mesh_weights_size (int mesh) const
double mesh_weights_get (int mesh, int index) const
int node_name_size (int n) const
unsigned char node_name_get (int n, int ch) const
int node_children_size (int n) const
int node_children_get (int n, int child) const
int node_rotation_size (int n) const
double node_rotation_get (int n, int i) const
int node_scale_size (int n) const
double node_scale_get (int n, int i) const
int node_translation_size (int n) const
double node_translation_get (int n, int i) const
int node_matrix_size (int n) const
double node_matrix_get (int n, int i) const
int texture_name_size (int t) const
unsigned char texture_name_get (int i, int ch) const
int image_name_size (int i) const
unsigned char image_name_get (int i, int ch) const
int image_image_size (int i) const
unsigned char image_image_get (int i, int ch) const
int image_mimeType_size (int i) const
unsigned char image_mimeType_get (int i, int ch) const
int image_uri_size (int i) const
unsigned char image_uri_get (int i, int ch) const
int skin_name_size (int i) const
unsigned char skin_name_get (int i, int ch) const
int skin_joints_size (int i) const
int skin_joints_get (int i, int j) const
int sampler_name_size (int s) const
unsigned char sampler_name_get (int s, int ch) const
int camera_type_size (int c) const
unsigned char camera_type_get (int c, int ch) const
int camera_name_size (int c) const
unsigned char camera_name_get (int c, int ch) const
tinygltf::PerspectiveCamera camera_perspective (int c) const
tinygltf::OrthographicCamera camera_ortho (int c) const
int scenes_name_size (int s) const
unsigned char scenes_name_get (int s, int ch) const
int scenes_nodes_size (int s) const
int scenes_nodes_get (int s, int node) const
int light_name_size (int l) const
unsigned char light_name_get (int l, int ch) const
int light_color_size (int l) const
double light_color_get (int l, int component) const
int light_type_size (int l) const
unsigned char light_type_get (int l, int ch) const
tinygltf::SpotLight light_spot (int i) const
void fill_heap_for_tinygltfValue (tinygltf::Value &val, int block)
Public Member Functions inherited from GLTFModelInterface
virtual ~GLTFModelInterface ()
virtual bool ReadyToPrepare () const
virtual bool ReadyToFetch () const
virtual bool IsSketchFabZipASyncJoinImplementation () const
virtual void execute ()
virtual void set_loadgltf_unique_id (int id)
virtual bool Ready () const
virtual LoadGltf * get_load () const =0
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Constructor & Destructor Documentation

◆ DSGLTF()

DSGLTF::DSGLTF ( DiskStore * ds)
inline

Member Function Documentation

◆ accessor_extensions2_size()

int DSGLTF::accessor_extensions2_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_extensions_key()

std::string DSGLTF::accessor_extensions_key ( int a,
int ext ) const
inline

◆ accessor_extensions_size()

int DSGLTF::accessor_extensions_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_extensions_size2()

int DSGLTF::accessor_extensions_size2 ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_extensions_value()

tinygltf::Value DSGLTF::accessor_extensions_value ( int a,
int ext ) const
inline

◆ accessor_externsions2_char()

unsigned char DSGLTF::accessor_externsions2_char ( int a,
int ch ) const
inline

◆ accessor_extras_char()

unsigned char DSGLTF::accessor_extras_char ( int a,
int ch ) const
inline

◆ accessor_extras_size()

int DSGLTF::accessor_extras_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_maxvalues_get()

double DSGLTF::accessor_maxvalues_get ( int a,
int val ) const
inline

◆ accessor_maxvalues_size()

int DSGLTF::accessor_maxvalues_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_minvalues_get()

double DSGLTF::accessor_minvalues_get ( int a,
int val ) const
inline

◆ accessor_minvalues_size()

int DSGLTF::accessor_minvalues_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessor_name_char()

unsigned char DSGLTF::accessor_name_char ( int a,
int ch ) const
inline

◆ accessor_name_size()

int DSGLTF::accessor_name_size ( int a) const
inline
Here is the caller graph for this function:

◆ accessors_size()

int DSGLTF::accessors_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ animation_channel_get()

tinygltf::AnimationChannel DSGLTF::animation_channel_get ( int a,
int chan ) const
inline

◆ animation_channel_size()

int DSGLTF::animation_channel_size ( int a) const
inline

◆ animation_name_get()

unsigned char DSGLTF::animation_name_get ( int a,
int ch ) const
inline

◆ animation_name_size()

int DSGLTF::animation_name_size ( int a) const
inline

◆ animation_sampler_get()

tinygltf::AnimationSampler DSGLTF::animation_sampler_get ( int a,
int chan ) const
inline

◆ animation_sampler_size()

int DSGLTF::animation_sampler_size ( int a) const
inline

◆ animations_size()

int DSGLTF::animations_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ BaseUrl()

std::string DSGLTF::BaseUrl ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ buffer_data_get()

unsigned char DSGLTF::buffer_data_get ( int b,
int ch ) const
inline

◆ buffer_data_size()

int DSGLTF::buffer_data_size ( int b) const
inline

◆ buffer_name_get()

unsigned char DSGLTF::buffer_name_get ( int b,
int ch ) const
inline

◆ buffer_name_size()

int DSGLTF::buffer_name_size ( int b) const
inline

◆ buffer_uri_get()

unsigned char DSGLTF::buffer_uri_get ( int b,
int ch ) const
inline

◆ buffer_uri_size()

int DSGLTF::buffer_uri_size ( int b) const
inline

◆ buffers_size()

int DSGLTF::buffers_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ bufferviews_name_get()

unsigned char DSGLTF::bufferviews_name_get ( int bv,
int ch ) const
inline

◆ bufferviews_name_size()

int DSGLTF::bufferviews_name_size ( int bv) const
inline

◆ bufferviews_size()

int DSGLTF::bufferviews_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ camera_name_get()

unsigned char DSGLTF::camera_name_get ( int c,
int ch ) const
inline

◆ camera_name_size()

int DSGLTF::camera_name_size ( int c) const
inline

◆ camera_ortho()

tinygltf::OrthographicCamera DSGLTF::camera_ortho ( int c) const
inline

◆ camera_perspective()

tinygltf::PerspectiveCamera DSGLTF::camera_perspective ( int c) const
inline

◆ camera_type_get()

unsigned char DSGLTF::camera_type_get ( int c,
int ch ) const
inline

◆ camera_type_size()

int DSGLTF::camera_type_size ( int c) const
inline

◆ cameras_size()

int DSGLTF::cameras_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ Collect()

void DSGLTF::Collect ( CollectVisitor & vis)
inlinevirtual

Implements GLTFModelInterface.

◆ fill_heap_for_tinygltfValue()

void DSGLTF::fill_heap_for_tinygltfValue ( tinygltf::Value & val,
int block )
inline

◆ find_block()

int DSGLTF::find_block ( int id) const
inline
Here is the caller graph for this function:

◆ get_accessor()

virtual const tinygltf::Accessor & DSGLTF::get_accessor ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_animation()

virtual const tinygltf::Animation & DSGLTF::get_animation ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_buffer()

virtual const tinygltf::Buffer & DSGLTF::get_buffer ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_bufferview()

virtual const tinygltf::BufferView & DSGLTF::get_bufferview ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_camera()

virtual const tinygltf::Camera & DSGLTF::get_camera ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_default_scene()

int DSGLTF::get_default_scene ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_header()

unsigned char * DSGLTF::get_header ( ) const
inline
Here is the caller graph for this function:

◆ get_image()

virtual const tinygltf::Image & DSGLTF::get_image ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_light()

virtual const tinygltf::Light & DSGLTF::get_light ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_material()

virtual const tinygltf::Material & DSGLTF::get_material ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_mesh()

virtual const tinygltf::Mesh & DSGLTF::get_mesh ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_node()

virtual const tinygltf::Node & DSGLTF::get_node ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_ptr()

unsigned char * DSGLTF::get_ptr ( int block) const
inline
Here is the caller graph for this function:

◆ get_sampler()

virtual const tinygltf::Sampler & DSGLTF::get_sampler ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_scene()

virtual const tinygltf::Scene & DSGLTF::get_scene ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_skin()

virtual const tinygltf::Skin & DSGLTF::get_skin ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ get_texture()

virtual const tinygltf::Texture & DSGLTF::get_texture ( int i) const
inlinevirtual

Implements GLTFModelInterface.

◆ HeavyPrepare()

void DSGLTF::HeavyPrepare ( )
inlinevirtual

Implements GLTFModelInterface.

◆ image_image_get()

unsigned char DSGLTF::image_image_get ( int i,
int ch ) const
inline

◆ image_image_size()

int DSGLTF::image_image_size ( int i) const
inline

◆ image_mimeType_get()

unsigned char DSGLTF::image_mimeType_get ( int i,
int ch ) const
inline

◆ image_mimeType_size()

int DSGLTF::image_mimeType_size ( int i) const
inline

◆ image_name_get()

unsigned char DSGLTF::image_name_get ( int i,
int ch ) const
inline

◆ image_name_size()

int DSGLTF::image_name_size ( int i) const
inline

◆ image_uri_get()

unsigned char DSGLTF::image_uri_get ( int i,
int ch ) const
inline

◆ image_uri_size()

int DSGLTF::image_uri_size ( int i) const
inline

◆ images_size()

int DSGLTF::images_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ light_color_get()

double DSGLTF::light_color_get ( int l,
int component ) const
inline

◆ light_color_size()

int DSGLTF::light_color_size ( int l) const
inline

◆ light_name_get()

unsigned char DSGLTF::light_name_get ( int l,
int ch ) const
inline

◆ light_name_size()

int DSGLTF::light_name_size ( int l) const
inline

◆ light_spot()

tinygltf::SpotLight DSGLTF::light_spot ( int i) const
inline

◆ light_type_get()

unsigned char DSGLTF::light_type_get ( int l,
int ch ) const
inline

◆ light_type_size()

int DSGLTF::light_type_size ( int l) const
inline

◆ lights_size()

int DSGLTF::lights_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ material_alphamode_get()

unsigned char DSGLTF::material_alphamode_get ( int bv,
int ch ) const
inline

◆ material_alphamode_size()

int DSGLTF::material_alphamode_size ( int bv) const
inline

◆ material_emissivefactor()

double DSGLTF::material_emissivefactor ( int bv,
int zero_to_two ) const
inline

◆ material_name_get()

unsigned char DSGLTF::material_name_get ( int bv,
int ch ) const
inline

◆ material_name_size()

int DSGLTF::material_name_size ( int bv) const
inline

◆ material_normaltexture()

tinygltf::NormalTextureInfo DSGLTF::material_normaltexture ( int bv) const
inline

◆ material_occlusiontexture()

tinygltf::OcclusionTextureInfo DSGLTF::material_occlusiontexture ( int bv) const
inline

◆ material_pbr()

tinygltf::PbrMetallicRoughness DSGLTF::material_pbr ( int bv) const
inline

◆ material_textureinfo()

tinygltf::TextureInfo DSGLTF::material_textureinfo ( int bv) const
inline

◆ materials_size()

int DSGLTF::materials_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ mesh_name_get()

unsigned char DSGLTF::mesh_name_get ( int mesh,
int ch ) const
inline

◆ mesh_name_size()

int DSGLTF::mesh_name_size ( int mesh) const
inline

◆ mesh_primitives_get()

tinygltf::Primitive DSGLTF::mesh_primitives_get ( int mesh,
int prim ) const
inline

◆ mesh_primitives_size()

int DSGLTF::mesh_primitives_size ( int mesh) const
inline

◆ mesh_weights_get()

double DSGLTF::mesh_weights_get ( int mesh,
int index ) const
inline

◆ mesh_weights_size()

int DSGLTF::mesh_weights_size ( int mesh) const
inline

◆ meshes_size()

int DSGLTF::meshes_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ name()

virtual std::string DSGLTF::name ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ node_children_get()

int DSGLTF::node_children_get ( int n,
int child ) const
inline

◆ node_children_size()

int DSGLTF::node_children_size ( int n) const
inline

◆ node_matrix_get()

double DSGLTF::node_matrix_get ( int n,
int i ) const
inline

◆ node_matrix_size()

int DSGLTF::node_matrix_size ( int n) const
inline

◆ node_name_get()

unsigned char DSGLTF::node_name_get ( int n,
int ch ) const
inline

◆ node_name_size()

int DSGLTF::node_name_size ( int n) const
inline

◆ node_rotation_get()

double DSGLTF::node_rotation_get ( int n,
int i ) const
inline

◆ node_rotation_size()

int DSGLTF::node_rotation_size ( int n) const
inline

◆ node_scale_get()

double DSGLTF::node_scale_get ( int n,
int i ) const
inline

◆ node_scale_size()

int DSGLTF::node_scale_size ( int n) const
inline

◆ node_translation_get()

double DSGLTF::node_translation_get ( int n,
int i ) const
inline

◆ node_translation_size()

int DSGLTF::node_translation_size ( int n) const
inline

◆ nodes_size()

int DSGLTF::nodes_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ Prepare()

void DSGLTF::Prepare ( )
inlinevirtual

Implements GLTFModelInterface.

◆ sampler_name_get()

unsigned char DSGLTF::sampler_name_get ( int s,
int ch ) const
inline

◆ sampler_name_size()

int DSGLTF::sampler_name_size ( int s) const
inline

◆ samplers_size()

int DSGLTF::samplers_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ scenes_name_get()

unsigned char DSGLTF::scenes_name_get ( int s,
int ch ) const
inline

◆ scenes_name_size()

int DSGLTF::scenes_name_size ( int s) const
inline

◆ scenes_nodes_get()

int DSGLTF::scenes_nodes_get ( int s,
int node ) const
inline

◆ scenes_nodes_size()

int DSGLTF::scenes_nodes_size ( int s) const
inline

◆ scenes_size()

int DSGLTF::scenes_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ skin_joints_get()

int DSGLTF::skin_joints_get ( int i,
int j ) const
inline

◆ skin_joints_size()

int DSGLTF::skin_joints_size ( int i) const
inline

◆ skin_name_get()

unsigned char DSGLTF::skin_name_get ( int i,
int ch ) const
inline

◆ skin_name_size()

int DSGLTF::skin_name_size ( int i) const
inline

◆ skins_size()

int DSGLTF::skins_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ texture_name_get()

unsigned char DSGLTF::texture_name_get ( int i,
int ch ) const
inline

◆ texture_name_size()

int DSGLTF::texture_name_size ( int t) const
inline

◆ textures_size()

int DSGLTF::textures_size ( ) const
inlinevirtual

Implements GLTFModelInterface.

◆ Url()

std::string DSGLTF::Url ( ) const
inlinevirtual

Implements GLTFModelInterface.


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