diff --git a/docs/en/graphics/shader/shaderLab/syntax/pass.mdx b/docs/en/graphics/shader/shaderLab/syntax/pass.mdx index ea5c3b4273..67ea7adfc9 100644 --- a/docs/en/graphics/shader/shaderLab/syntax/pass.mdx +++ b/docs/en/graphics/shader/shaderLab/syntax/pass.mdx @@ -35,7 +35,7 @@ It can be specified in the following two ways: 2. Declaration in the global variable domain of Pass ``` - BlendState blendState { + BlendState { Rendering state property = Property value; } ``` diff --git a/docs/zh/graphics/shader/shaderLab/syntax/pass.mdx b/docs/zh/graphics/shader/shaderLab/syntax/pass.mdx index 92a3aa26d8..16aac2f726 100644 --- a/docs/zh/graphics/shader/shaderLab/syntax/pass.mdx +++ b/docs/zh/graphics/shader/shaderLab/syntax/pass.mdx @@ -35,7 +35,7 @@ Pass "PassName" { 2. Pass 全局变量域中声明指定 ``` - BlendState blendState { + BlendState { 渲染状态属性 = 属性值; } ```