Diligent Engine
Loading...
Searching...
No Matches
Diligent::GLTF::TextureSourceInfo Struct Reference

Resolved texture source referenced by a GLTF texture. More...

#include <GLTFDocument.hpp>

Public Attributes

Uint32 TextureIndex = 0
 Index in tinygltf::Model::textures.
int ImageIndex = -1
 Index in tinygltf::Model::images.
int SamplerIndex = -1
 Index in tinygltf::Model::samplers.
std::string URI
 Resolved external image URI. Empty for embedded image data.
const void * pData = nullptr
 Pointer to encoded image data for embedded buffer-view or data URI images.
Uint64 DataSize = 0
 Size of encoded image data in bytes.

Detailed Description

Resolved texture source referenced by a GLTF texture.