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

Function GetPlatformLongName

shadercompiler/Platforms.h:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49inline const char* GetPlatformLongName( Platform platform )
50{
51 switch( platform )
52 {
53 case PLATFORM_DX11:
54 return "DirectX 11";
55 case PLATFORM_DX12:
56 return "DirectX 12";
57 case PLATFORM_METAL:
58 return "Metal";
59 default:
60 return "INVALID";
61 }
62}
63
64inline const char* GetPlatformIdString( Platform platform )
65{

Callers 1

CompileShaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected