cesium-native 0.48.0
Loading...
Searching...
No Matches
Ktx2TranscodeTargets.h
1#pragma once
2
3#include <CesiumGltf/Library.h>
4
5namespace CesiumGltf {
6
98
111 bool ETC1_RGB{};
113 bool ETC2_RGBA{};
115 bool BC1_RGB{};
117 bool BC3_RGBA{};
119 bool BC4_R{};
121 bool BC5_RG{};
123 bool BC7_RGBA{};
138};
139
213
214} // namespace CesiumGltf
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.
@ 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....
Represents the status of support for all GpuCompressedPixelFormats on a client platform.
bool PVRTC1_4_RGB
The data is a PVRTC1-compressed RGB444 texture.
bool BC3_RGBA
The data is a BC3-compressed RGBA5658 texture.
bool ASTC_4x4_RGBA
The data is a ASTC-compressed RGBA texture with a 4x4 block footprint.
bool BC5_RG
The data is a BC5-compressed RG88 texture.
bool BC4_R
The data is a BC4-compressed R8 texture.
bool BC1_RGB
The data is a BC1-compressed RGB565 texture.
bool BC7_RGBA
The data is a BC7-compressed RGBA8888 texture.
bool PVRTC2_4_RGBA
The data is a PVRTC2-compressed RGBA4444 texture.
bool ETC2_EAC_RG11
The data is a ETC2 RG11 EAC-compressed texture with two channels.
bool PVRTC2_4_RGB
The data is a PVRTC2-compressed RGB444 texture.
bool ETC2_RGBA
The data is an ETC2-compressed RGBA8888 texture.
bool ETC2_EAC_R11
The data is a ETC2 R11 EAC-compressed texture with a single channel.
bool ETC1_RGB
The data is an ETC1-compressed RGB888 texture.
bool PVRTC1_4_RGBA
The data is a PVRTC1-compressed RGBA4444 texture.