3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/render_dragon/texture_decoder/texd/CompressionScheme.h"
7#include "mc/external/render_dragon/texture_decoder/texd/PixelFormat.h"
22MCAPI
bool convertRgba(uchar* outBuffer, ::texd::PixelFormat outFormat, uchar
const* inBuffer, uint width, uint height);
26 ::texd::DecompressedImageDescription& dImg,
27 ::texd::PixelFormat pixelFormat,
28 ::texd::StorageBuffer
const& storage,
32MCAPI
bool decompressMipLevel(
33 ::texd::CompressionScheme scheme,
36 ::texd::PixelFormat inFormat,
37 uchar
const* inBuffer,
39 ::texd::PixelFormat outFormat,
43MCAPI
bool determineImageDescription(::texd::CompressedImageDescription& cImg, uchar
const* stream);
45MCAPI
bool getMipLevelData(::texd::MipLevelDescription& mipLevelDesc, uchar
const* stream, uint mipLevel);
48getStreamForGpu(::texd::GpuStreamDescription& gpuStream, ::texd::StorageBuffer
const& storage, uint mipLevel);
50MCAPI
bool loadCompressedImageFromMemory(
51 ::texd::StorageBuffer& storage,
52 ::texd::CompressedImageDescription& cImg,
57MCAPI ::texd::Ktx1Header parseHeader(uchar
const* stream);
Definition StorageBuffer.h:7
Definition CompressedImageDescription.h:12
Definition DecompressedImageDescription.h:10
Definition GpuStreamDescription.h:7
Definition MipLevelDescription.h:7