HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_NAMESPACE::GLTF_Cache Class Reference

#include <GLTF_Cache.h>

Public Member Functions

const UT_SharedPtr< const
GLTF_Loader
LoadLoader (const UT_StringHolder &path)
 
bool EvictLoader (const UT_StringHolder &path)
 

Static Public Member Functions

static GLTF_CacheGetInstance ()
 

Detailed Description

A singleton responsible for storing a cached GLTF_Loader.

Definition at line 45 of file GLTF_Cache.h.

Member Function Documentation

bool GLTF_NAMESPACE::GLTF_Cache::EvictLoader ( const UT_StringHolder path)
static GLTF_Cache& GLTF_NAMESPACE::GLTF_Cache::GetInstance ( )
static
const UT_SharedPtr<const GLTF_Loader> GLTF_NAMESPACE::GLTF_Cache::LoadLoader ( const UT_StringHolder path)

Creates a new loader with the given filepath, calls Load() and returns a pointer. If we were unable to load, then the loader is evicted and null is returned


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