文档

Unity Engine

Unity Engine

GraphicsStateCollection.ShaderVariant

Identifies a specific variant of a shader stored in a GraphicsStateCollection.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct GraphicsStateCollection.ShaderVariant

Fields

Value

Description

keywordsArray of shader keywords to use in this variant.
passIdPassIdentifier to use in this variant.
shaderShader to use in this variant.