MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ToString

Method ToString

Source/Engine/Graphics/GPUSwapChain.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102String GPUSwapChain::ToString() const
103{
104#if GPU_ENABLE_RESOURCE_NAMING
105 return String::Format(TEXT("SwapChain {0}x{1}, {2}"), GetWidth(), GetHeight(), GetName());
106#else
107 return TEXT("SwapChain");
108#endif
109}
110
111GPUResourceType GPUSwapChain::GetResourceType() const
112{

Callers

nothing calls this directly

Calls 3

GetWidthFunction · 0.85
GetHeightFunction · 0.70
FormatFunction · 0.50

Tested by

no test coverage detected