DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiEditor::TextureSettings Struct Reference

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/TextureSettings.h>

Public Member Functions

std::string TargetFormat (const std::string &platformId) const
 The format a target names for itself, or "" to use the image's.
int MaxSizeFor (const std::string &platformId) const
 The Max Size that applies on a target: its own, else the image's.

Public Attributes

std::string format
int maxSize = 0
std::map< std::string, TextureTargetSettings > targets

Member Function Documentation

◆ TargetFormat()

std::string DekiEditor::TextureSettings::TargetFormat ( const std::string & platformId) const
inline

The format a target names for itself, or "" to use the image's.

◆ MaxSizeFor()

int DekiEditor::TextureSettings::MaxSizeFor ( const std::string & platformId) const
inline

The Max Size that applies on a target: its own, else the image's.

Member Data Documentation

◆ format

std::string DekiEditor::TextureSettings::format

◆ maxSize

int DekiEditor::TextureSettings::maxSize = 0

◆ targets

std::map<std::string, TextureTargetSettings> DekiEditor::TextureSettings::targets

The documentation for this struct was generated from the following file: