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

Method ToString

Source/Engine/Graphics/GPUBuffer.cpp:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137String GPUBufferDescription::ToString() const
138{
139 return String::Format(TEXT("Size: {0}, Stride: {1}, Flags: {2}, Format: {3}, Usage: {4}"),
140 Size,
141 Stride,
142 ScriptingEnum::ToStringFlags(Flags),
143 ScriptingEnum::ToString(Format),
144 (int32)Usage);
145}
146
147uint32 GetHash(const GPUBufferDescription& key)
148{

Callers 2

InitMethod · 0.45
RunMethod · 0.45

Calls 5

BytesToTextFunction · 0.85
ToStringFunction · 0.70
GetSizeFunction · 0.70
GetStrideFunction · 0.70
FormatFunction · 0.50

Tested by

no test coverage detected