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.

Did you find this page useful? Please give it a rating: