DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
TextureImporter.h File Reference

Classes

struct  DekiEditor::AtlasFrame
 One frame in atlas mode. More...
struct  DekiEditor::ChromaKeySettings
 Optional chroma-key transparency for a texture. More...
struct  DekiEditor::DecodedImage
 Decoded image, RGBA8 packed (4 bytes per pixel). More...
struct  DekiEditor::SpriteFrameData
 A sprite frame's pixel rect within its texture, registered by frame GUID and used for rendering. More...
struct  DekiEditor::SpriteSettings
 Optional sprite metadata baked into the texture file. More...
class  DekiEditor::TextureImporter
 Imports images into the texture cache, and reads and writes TEX files. More...

Namespaces

namespace  DekiEditor

Enumerations

enum class  DekiEditor::MetadataChunkType : uint32_t { DekiEditor::Sprite = 1 , DekiEditor::FrameList = 2 , DekiEditor::ChromaKey = 3 , DekiEditor::SourceSize = 4 }
enum class  DekiEditor::SpriteSlicingMode { DekiEditor::None = 0 , DekiEditor::Grid = 1 , DekiEditor::Atlas = 2 }

Functions

bool DekiEditor::DecodeImageFile (const std::string &absolutePath, DecodedImage &out)
 Decodes an image file (PNG/JPG/BMP/TGA/GIF) from disk into RGBA8.