C# Class UnityEngine.ShaderVariantCollection.ShaderVariant

Identifies a specific variant of a shader.

Show file Open project: randomize/VimConfig Class Usage Examples

Public Properties

Property Type Description
keywords string[]
passType PassType
shader Shader

Public Methods

Method Description
ShaderVariant ( Shader shader, PassType passType ) : System

Private Methods

Method Description
Internal_CheckVariant ( Shader shader, PassType passType, string keywords ) : void

Method Details

ShaderVariant() public method

public ShaderVariant ( Shader shader, PassType passType ) : System
shader Shader
passType PassType
return System

Property Details

keywords public property

public string[] keywords
return string[]

passType public property

public PassType passType
return PassType

shader public property

public Shader,UnityEngine shader
return Shader