VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::PreparedGlbData::ImageData Struct Reference

Pre-converted RGBA8 image, one per tinygltf::Model::images entry. More...

#include <framework/parsers/glbParser.h>

Public Attributes

int height = 0
std::vector< uint8_t > rgbaPixels
 RGBA8 interleaved pixels.
bool valid = false
 True if conversion succeeded.
int width = 0

Detailed Description

Pre-converted RGBA8 image, one per tinygltf::Model::images entry.

Definition at line 35 of file glbParser.h.

Member Data Documentation

◆ height

int visutwin::canvas::PreparedGlbData::ImageData::height = 0

Definition at line 39 of file glbParser.h.

◆ rgbaPixels

std::vector<uint8_t> visutwin::canvas::PreparedGlbData::ImageData::rgbaPixels

RGBA8 interleaved pixels.

Definition at line 37 of file glbParser.h.

◆ valid

bool visutwin::canvas::PreparedGlbData::ImageData::valid = false

True if conversion succeeded.

Definition at line 40 of file glbParser.h.

◆ width

int visutwin::canvas::PreparedGlbData::ImageData::width = 0

Definition at line 38 of file glbParser.h.


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