Version: Unity 6 (6000.0)
Language : English
Debug shaders with PIX
ShaderLab language reference

Shader languages reference

Reference for ShaderLabUnity’s language for defining the structure of Shader objects. More info
See in Glossary
, and High Level ShaderA program that runs on the GPU. More info
See in Glossary
Language (HLSL) in Unity.

Page Description
ShaderLab language reference Reference for ShaderLab.
HLSL pragma directives reference Reference for High-level Shader Language (HLSL) pragma directives in Unity.
HLSL pragma require command reference Reference for all the valid values for the #pragma require directive.
HLSL pragma target command reference Reference for the shader models Unity uses, and the combination of #pragma require values that each corresponds to.
Built-in shader variables reference Reference for the global variables Unity provides for your custom shaders, such as transformation matrices and light parameters.

Additional resources

Debug shaders with PIX
ShaderLab language reference
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961