|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
Optional chroma-key transparency for a texture. More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/TextureImporter.h>
Public Attributes | |
| uint8_t | b = 255 |
| bool | enabled = false |
| uint8_t | g = 0 |
| uint8_t | r = 255 |
Optional chroma-key transparency for a texture.
When enabled, pixels matching (r,g,b) are transparent at render time. The importer also bakes per-row spans of non-key columns so the blit can skip the per-pixel compare on opaque rows.
| uint8_t DekiEditor::ChromaKeySettings::b = 255 |
| bool DekiEditor::ChromaKeySettings::enabled = false |
| uint8_t DekiEditor::ChromaKeySettings::g = 0 |
| uint8_t DekiEditor::ChromaKeySettings::r = 255 |