PortableCompressedTexture2D
Inherits: Texture2D < Texture < Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
resource_local_to_scene |
|
|
|
Methods
void |
create_from_image ( Image image, CompressionMode compression_mode, bool normal_map=false, float lossy_quality=0.8 ) |
get_compression_mode ( ) const |
|
get_format ( ) const |
|
is_keeping_all_compressed_buffers ( ) static |
|
void |
set_keep_all_compressed_buffers ( bool keep ) static |
Enumerations
enum CompressionMode:
CompressionMode COMPRESSION_MODE_LOSSLESS = 0
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_MODE_LOSSY = 1
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_MODE_BASIS_UNIVERSAL = 2
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_MODE_S3TC = 3
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_MODE_ETC2 = 4
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_MODE_BPTC = 5
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
PackedByteArray _data = PackedByteArray()
There is currently no description for this property. Please help us by contributing one!
bool keep_compressed_buffer = false
There is currently no description for this property. Please help us by contributing one!
Vector2 size_override = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void create_from_image ( Image image, CompressionMode compression_mode, bool normal_map=false, float lossy_quality=0.8 )
There is currently no description for this method. Please help us by contributing one!
CompressionMode get_compression_mode ( ) const
There is currently no description for this method. Please help us by contributing one!
Format get_format ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_keeping_all_compressed_buffers ( ) static
There is currently no description for this method. Please help us by contributing one!
void set_keep_all_compressed_buffers ( bool keep ) static
There is currently no description for this method. Please help us by contributing one!