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

Method ToString

Source/Engine/Graphics/Textures/GPUTexture.cpp:169–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169String GPUTextureDescription::ToString() const
170{
171 return String::Format(TEXT("Size: {0}x{1}x{2}[{3}], Type: {4}, Mips: {5}, Format: {6}, MSAA: {7}, Flags: {8}, Usage: {9}"),
172 Width,
173 Height,
174 Depth,
175 ArraySize,
176 ::ToString(Dimensions),
177 MipLevels,
178 ScriptingEnum::ToString(Format),
179 ::ToString(MultiSampleLevel),
180 ScriptingEnum::ToStringFlags(Flags),
181 (int32)Usage);
182}
183
184uint32 GetHash(const GPUTextureDescription& key)
185{

Callers 1

InitMethod · 0.45

Calls 2

FormatFunction · 0.70
ToStringFunction · 0.70

Tested by

no test coverage detected