Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ShaderVariant

struct in UnityEngine.Experimental.Rendering

/

Implemented in:UnityEngine.CoreModule

Description

Identifies a specific variant of a shader stored in a GraphicsStateCollection.

Properties

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