MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetPlatformShortName

Function GetPlatformShortName

shadercompiler/Platforms.h:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34inline const char* GetPlatformShortName( Platform platform )
35{
36 switch( platform )
37 {
38 case PLATFORM_DX11:
39 return "dx11";
40 case PLATFORM_DX12:
41 return "dx12";
42 case PLATFORM_METAL:
43 return "mtl";
44 default:
45 return "INVALID";
46 }
47}
48
49inline const char* GetPlatformLongName( Platform platform )
50{

Callers 1

ParsePlatformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected