Direct3D 和 OpenGL
Direct3D | OpenGl | 图形接口Api | |
发行 | 微软 | 通用的 | |
可用于 | Windows | Windows、Ios、Linux、Android |
GPU编程语言
语言 | 支持 |
HLSL | Direct3D |
cg(NVIDIA和微软提供) | Direct3D 和 OpenGL |
GLSL | OpenGL |
注:Unity使用ShaderLab编写,对不同平台进行编译,重点支持cg
Direct3D 和 OpenGL
Direct3D | OpenGl | 图形接口Api | |
发行 | 微软 | 通用的 | |
可用于 | Windows | Windows、Ios、Linux、Android |
GPU编程语言
语言 | 支持 |
HLSL | Direct3D |
cg(NVIDIA和微软提供) | Direct3D 和 OpenGL |
GLSL | OpenGL |
注:Unity使用ShaderLab编写,对不同平台进行编译,重点支持cg