C# Class UnityEngine.ShaderVariantCollection.ShaderVariant

Identifies a specific variant of a shader.

ファイルを表示 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_oe property

public string[] keywords
return string[]

passType public_oe property

public PassType passType
return PassType

shader public_oe property

public Shader,UnityEngine shader
return Shader