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

Function ToString

deps/LLGL/sources/Core/Strings.cpp:15–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15LLGL_EXPORT const char* ToString(const ShaderType t)
16{
17 using T = ShaderType;
18
19 switch (t)
20 {
21 case T::Undefined: return "<undefined>";
22 case T::Vertex: return "vertex";
23 case T::TessControl: return "tessellation control";
24 case T::TessEvaluation: return "tessellation evaluation";
25 case T::Geometry: return "geometry";
26 case T::Fragment: return "fragment";
27 case T::Compute: return "compute";
28 }
29
30 return nullptr;
31}
32
33LLGL_EXPORT const char* ToString(const ErrorType t)
34{

Callers 11

OnErrorMethod · 0.85
OnWarningMethod · 0.85
ValidateRenderingCapsFunction · 0.85
ValidateIndexTypeMethod · 0.85
ValidateBufferDescMethod · 0.85
GetReportMethod · 0.85
Example_TexturingMethod · 0.85
ExampleBaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected