MCPcopy Create free account
hub / github.com/MyGUI/mygui / getFormat

Method getFormat

MyGUIEngine/src/MyGUI_ResourceTrueTypeFont.cpp:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 struct PixelBase
153 {
154 static PixelFormat::Enum getFormat()
155 {
156 if constexpr (LAMode)
157 return PixelFormat::L8A8;
158 else
159 return PixelFormat::R8G8B8A8;
160 }
161
162 static size_t getNumBytes()
163 {

Callers 2

validateMethod · 0.45
getTextureFormatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected