Version: 2020.1
言語: 日本語

ShaderCompilerPlatform

enumeration

マニュアルに切り替える

説明

Shader compiler used to generate player data shader variants.

In Unity, shader programs are written in a variant of HLSL language.

Each [[wiki:PlatformSpecific|platform] supports one or multiple graphics APIs. For example, Vulkan and Direct3D 12 are both supported in Windows. When building a standalone player, for each supported graphics API, Unity runs a corresponding shader compiler which generates the shader variants and cross-compiles the shader snippet into the shading language natively supported by the graphics API.

See Also: IPreprocessShaders.OnProcessShader, Shader language.

変数

NoneProvide a reasonable value for non initialized variables.
D3DCompiler used with Direct3D 11 and Direct3D 12 graphics API on Windows platforms.
GLES20Compiler used with OpenGL ES 2.0 and WebGL 1.0 graphics APIs on Android, iOS, Windows and WebGL platforms.
GLES3xCompiler used with OpenGL ES 3.x and WebGL 2.0 graphics APIs on Android, iOS, Windows and WebGL platforms.
PS4Compiler used on PlayStation 4.
XboxOneD3D11Compiler used with Direct3D 11 graphics API on XBox One.
MetalCompiler used with Metal graphics API on macOS, iOS and tvOS platforms.
OpenGLCoreCompiler used with OpenGL core graphics API on macOS, Linux and Windows platforms.
VulkanCompiler used with Vulkan graphics API on Android, Linux and Windows platforms.
SwitchCompiler used on Nintendo Switch.
XboxOneD3D12Compiler used with Direct3D 12 graphics API on XBox One.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961