3#include <CesiumGltf/Library.h>
147struct CESIUMGLTF_API Ktx2TranscodeTargets {
198 Ktx2TranscodeTargets() =
default;
211 bool preserveHighQuality);
Classes for working with glTF models.
GpuCompressedPixelFormat
Supported GPU compressed pixel formats.
@ PVRTC2_4_RGBA
The data is a PVRTC2-compressed RGBA4444 texture.
@ BC5_RG
The data is a BC5-compressed RG88 texture.
@ BC3_RGBA
The data is a BC3-compressed RGBA5658 texture.
@ BC1_RGB
The data is a BC1-compressed RGB565 texture.
@ PVRTC2_4_RGB
The data is a PVRTC2-compressed RGB444 texture.
@ ASTC_4x4_RGBA
The data is a ASTC-compressed RGBA texture with a 4x4 block footprint.
@ PVRTC1_4_RGB
The data is a PVRTC1-compressed RGB444 texture.
@ BC4_R
The data is a BC4-compressed R8 texture.
@ ETC1_RGB
The data is an ETC1-compressed RGB888 texture.
@ BC7_RGBA
The data is a BC7-compressed RGBA8888 texture.
@ NONE
The data is uncompressed.
@ PVRTC1_4_RGBA
The data is a PVRTC1-compressed RGBA4444 texture.
@ ETC2_EAC_RG11
The data is a ETC2 RG11 EAC-compressed texture with two channels.
@ ETC2_RGBA
The data is an ETC2-compressed RGBA8888 texture.
@ ETC2_EAC_R11
The data is a ETC2 R11 EAC-compressed texture with a single channel.
GpuCompressedPixelFormat UASTC_RG
The gpu pixel compression format to transcode Red-Green UASTC textures into. If NONE,...
GpuCompressedPixelFormat UASTC_RGB
The gpu pixel compression format to transcode RGB UASTC textures into. If NONE, it will be decompress...
GpuCompressedPixelFormat UASTC_R
The gpu pixel compression format to transcode Red UASTC textures into. If NONE, it will be decompress...
Ktx2TranscodeTargets(const SupportedGpuCompressedPixelFormats &supportedFormats, bool preserveHighQuality)
Determine ideal transcode targets based on a list of supported gpu compressed formats.
GpuCompressedPixelFormat ETC1S_R
The gpu pixel compression format to transcode Red ETC1S textures into. If NONE, it will be decompress...
GpuCompressedPixelFormat ETC1S_RGBA
The gpu pixel compression format to transcode RGBA ETC1S textures into. If NONE, it will be decompres...
GpuCompressedPixelFormat ETC1S_RGB
The gpu pixel compression format to transcode RGB ETC1S textures into. If NONE, it will be decompress...
GpuCompressedPixelFormat UASTC_RGBA
The gpu pixel compression format to transcode RGBA UASTC textures into. If NONE, it will be decompres...
GpuCompressedPixelFormat ETC1S_RG
The gpu pixel compression format to transcode Red-Green ETC1S textures into, if one exists....