cgv
Loading...
Searching...
No Matches
fx::gltf::Buffer Struct Reference

Public Member Functions

bool IsEmbeddedResource () const noexcept
 
void SetEmbeddedResource ()
 

Public Attributes

uint32_t byteLength {}
 
std::string name
 
std::string uri
 
nlohmann::json extensionsAndExtras {}
 
std::vector< uint8_t > data {}
 

Detailed Description

Definition at line 477 of file gltf.h.

Member Function Documentation

◆ IsEmbeddedResource()

bool fx::gltf::Buffer::IsEmbeddedResource ( ) const
inlinenoexcept

Definition at line 488 of file gltf.h.

◆ SetEmbeddedResource()

void fx::gltf::Buffer::SetEmbeddedResource ( )
inline

Definition at line 493 of file gltf.h.

Member Data Documentation

◆ byteLength

uint32_t fx::gltf::Buffer::byteLength {}

Definition at line 479 of file gltf.h.

◆ data

std::vector<uint8_t> fx::gltf::Buffer::data {}

Definition at line 486 of file gltf.h.

◆ extensionsAndExtras

nlohmann::json fx::gltf::Buffer::extensionsAndExtras {}

Definition at line 484 of file gltf.h.

◆ name

std::string fx::gltf::Buffer::name

Definition at line 481 of file gltf.h.

◆ uri

std::string fx::gltf::Buffer::uri

Definition at line 482 of file gltf.h.


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