RendererAPI Enum¶
Constant |
Value |
Description |
---|---|---|
Auto |
0 |
默认API |
None |
1 |
空API |
GLES2 |
2 |
OpenGL ES 2 |
GLES3 |
3 |
OpenGL ES 3 |
GL |
4 |
Desktop OpenGL |
D3D9 |
5 |
Direct3D9 |
D3D11 |
6 |
Direct3D11 |
D3D12 |
7 |
Direct3D12 |
Constant |
Value |
Description |
---|---|---|
Auto |
0 |
默认API |
None |
1 |
空API |
GLES2 |
2 |
OpenGL ES 2 |
GLES3 |
3 |
OpenGL ES 3 |
GL |
4 |
Desktop OpenGL |
D3D9 |
5 |
Direct3D9 |
D3D11 |
6 |
Direct3D11 |
D3D12 |
7 |
Direct3D12 |