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

Method ToString

Source/Engine/Graphics/Shaders/GPUVertexLayout.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79String VertexElement::ToString() const
80{
81#if GPU_ENABLE_RESOURCE_NAMING
82 return String::Format(TEXT("{}, {}, offset {}, {}, slot {}"), ScriptingEnum::ToString(Type), ScriptingEnum::ToString(Format), Offset, PerInstance ? TEXT("per-instance") : TEXT("per-vertex"), Slot);
83#else
84 return TEXT("VertexElement");
85#endif
86}
87
88bool VertexElement::operator==(const VertexElement& other) const
89{

Callers 6

GetElementsStringMethod · 0.45
GetMethod · 0.45
LoadShaderCacheMethod · 0.45
TryGetEntryMethod · 0.45
RemoveCacheMethod · 0.45
CopyCacheMethod · 0.45

Calls 2

FormatFunction · 0.50
ToStringFunction · 0.50

Tested by

no test coverage detected