WSM API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
WSM::TextureData Struct Reference

Description

Data used to construct a texture.

#include <GeometryDataContainers.h>

Public Attributes

std::string m_name
 The name of the texture, generally the filename used to generate it.
 
std::vector< char > m_texture
 The bitmap data of the texture, as in APICreateMaterialWithTexture().
 
bool m_bUseBitmapAlpha = true
 Indicates whether the bitmap data's alpha channel is used or not.
 

Member Data Documentation

◆ m_bUseBitmapAlpha

bool WSM::TextureData::m_bUseBitmapAlpha = true

Indicates whether the bitmap data's alpha channel is used or not.

◆ m_name

std::string WSM::TextureData::m_name

The name of the texture, generally the filename used to generate it.

◆ m_texture

std::vector<char> WSM::TextureData::m_texture

The bitmap data of the texture, as in APICreateMaterialWithTexture().


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