summaryrefslogtreecommitdiffstats
path: root/scene/resources/portable_compressed_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/portable_compressed_texture.h')
-rw-r--r--scene/resources/portable_compressed_texture.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/resources/portable_compressed_texture.h b/scene/resources/portable_compressed_texture.h
index 86d80e39f7..3103c2daba 100644
--- a/scene/resources/portable_compressed_texture.h
+++ b/scene/resources/portable_compressed_texture.h
@@ -39,6 +39,14 @@ class PortableCompressedTexture2D : public Texture2D {
GDCLASS(PortableCompressedTexture2D, Texture2D);
public:
+ enum DataFormat {
+ DATA_FORMAT_UNDEFINED,
+ DATA_FORMAT_IMAGE,
+ DATA_FORMAT_PNG,
+ DATA_FORMAT_WEBP,
+ DATA_FORMAT_BASIS_UNIVERSAL,
+ };
+
enum CompressionMode {
COMPRESSION_MODE_LOSSLESS,
COMPRESSION_MODE_LOSSY,