MCPcopy Create free account
hub / github.com/cinder/Cinder / ImTextureDataGetFormatName

Function ImTextureDataGetFormatName

src/imgui/imgui_draw.cpp:2449–2457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2447}
2448
2449const char* ImTextureDataGetFormatName(ImTextureFormat format)
2450{
2451 switch (format)
2452 {
2453 case ImTextureFormat_Alpha8: return "Alpha8";
2454 case ImTextureFormat_RGBA32: return "RGBA32";
2455 }
2456 return "N/A";
2457}
2458
2459void ImTextureData::Create(ImTextureFormat format, int w, int h)
2460{

Callers 1

DebugNodeTextureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected