struct mrpt::viz::CAssimpModel::TextureInfo
Overview
Information about a texture used in the model.
#include <mrpt/viz/CAssimpModel.h> struct TextureInfo { // fields std::string filepath; size_t width = 0; size_t height = 0; bool hasAlpha = false; size_t triangleCount = 0; };
Fields
std::string filepath
Path to the texture file.
size_t width = 0
Texture width in pixels.
size_t height = 0
Texture height in pixels.
bool hasAlpha = false
Whether texture has alpha channel.
size_t triangleCount = 0
Number of triangles using this texture.