enum
Fluorite::SpriteSheet::Core::CompressionFormat
Overview
Target compression and color format for sprite sheets
Defined in:
fluorite/sprite_sheet/core/pipeline.crEnum Members
-
RGBA32 =
0 -
CLUT8 =
1 -
CLUT4 =
2 -
WEBP =
3 -
RGB565 =
4
Constructors
Instance Method Summary
- #bits_per_pixel : Int32
-
#clut4?
Returns
trueif this enum value equalsCLUT4 -
#clut8?
Returns
trueif this enum value equalsCLUT8 - #indexed_palette? : Bool
- #max_colors : Int32
-
#palette_bytes : Int64
Base palette table overhead in bytes (for PS2 GS / GPU CLUT storage)
-
#rgb565?
Returns
trueif this enum value equalsRGB565 -
#rgba32?
Returns
trueif this enum value equalsRGBA32 - #to_slug : String
-
#webp?
Returns
trueif this enum value equalsWEBP