Skip to content

raisin::Bc7TextureStorageResult ​

struct · #include <rayrai/Bc7TextureStorage.hpp>

Outcome of compressRgbTextureBc7(); all zero when the texture was left unchanged.

Public attributes ​

sourceBytes ​

cpp
size_t sourceBytes

Uncompressed RGB8 bytes and BC7 bytes over all converted mip levels.

compressedBytes ​

cpp
size_t compressedBytes

mipLevels ​

cpp
int mipLevels

Mip levels replaced.

RaiSim — physics for robotics and AI.