MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ImTextureDataGetFormatName

Function ImTextureDataGetFormatName

3rdparty/imgui/src/imgui_draw.cpp:2481–2489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2479}
2480
2481const char* ImTextureDataGetFormatName(ImTextureFormat format)
2482{
2483 switch (format)
2484 {
2485 case ImTextureFormat_Alpha8: return "Alpha8";
2486 case ImTextureFormat_RGBA32: return "RGBA32";
2487 }
2488 return "N/A";
2489}
2490
2491void ImTextureData::Create(ImTextureFormat format, int w, int h)
2492{

Callers 1

DebugNodeTextureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected