Enum GPUPlatform
Graphic API. Also called ShaderCompilerPlatform
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/Graphics/ShaderCompilerData.cs
Namespace: AssetRipper.SourceGenerated.Extensions.Enums.Shader
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public enum GPUPlatform
Fields
Name | Description |
---|---|
d3d11 | Direct3D 11 (FL10.0 and up) and Direct3D 12, compiled with MS D3DCompiler |
d3d11_9x | |
d3d9 | |
flash | |
GameCoreScarlett | |
GameCoreXboxOne | Game Core |
glcore | Desktop OpenGL 3+, compiled with MS D3DCompiler + HLSLcc |
gles | OpenGL ES 2.0 / WebGL 1.0, compiled with MS D3DCompiler + HLSLcc |
gles3 | |
glesdesktop | OpenGL ES 3.0+ / WebGL 2.0, compiled with MS D3DCompiler + HLSLcc |
metal | Apple Metal, compiled with MS D3DCompiler + HLSLcc |
n3ds | |
none | For non initialized variable. |
openGL | |
ps3 | |
ps4 | Sony PS4 |
PS5 | PS5 |
PS5NGGC | PS5 NGGC |
psm | |
psp2 | |
Switch | Nintendo Switch (NVN) |
unknown | For inner use only |
vulkan | Vulkan SPIR-V, compiled with MS D3DCompiler + HLSLcc |
wiiu | |
xbox360 | |
xboxone | MS XboxOne |
xboxone_d3d12 | Xbox One D3D12 |