Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::DecodedTexture Struct Reference

Parsed texture data from a KTX2 container. More...

#include <ktx2_decoder.hpp>

Public Attributes

std::vector< uint8_t > pixels
 Pixel data when a transcoding backend provides it.
uint32_t width = 0
uint32_t height = 0
uint32_t mip_levels = 1
std::string format
 Preferred GPU format hint.
bool compressed = false
 Whether pixels are GPU-compressed (BC7/ASTC/ETC2).
bool success = false

Detailed Description

Parsed texture data from a KTX2 container.

Member Data Documentation

◆ compressed

bool pulp::render::DecodedTexture::compressed = false

Whether pixels are GPU-compressed (BC7/ASTC/ETC2).

◆ format

std::string pulp::render::DecodedTexture::format

Preferred GPU format hint.

◆ height

uint32_t pulp::render::DecodedTexture::height = 0

◆ mip_levels

uint32_t pulp::render::DecodedTexture::mip_levels = 1

◆ pixels

std::vector<uint8_t> pulp::render::DecodedTexture::pixels

Pixel data when a transcoding backend provides it.

◆ success

bool pulp::render::DecodedTexture::success = false

◆ width

uint32_t pulp::render::DecodedTexture::width = 0

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