C# Class UnityEngine.ShaderVariantCollection

ShaderVariantCollection records which shader variants are actually used in each shader.

Inheritance: Object
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Méthodes publiques

Méthode Description
Add ( ShaderVariant variant ) : bool
Contains ( ShaderVariant variant ) : bool
Remove ( ShaderVariant variant ) : bool
ShaderVariantCollection ( ) : System

Private Methods

Méthode Description
AddInternal ( Shader shader, PassType passType, string keywords ) : bool
Clear ( ) : void
ContainsInternal ( Shader shader, PassType passType, string keywords ) : bool
Internal_Create ( [ mono ) : void
RemoveInternal ( Shader shader, PassType passType, string keywords ) : bool
WarmUp ( ) : void

Method Details

Add() public méthode

public Add ( ShaderVariant variant ) : bool
variant ShaderVariant
Résultat bool

Contains() public méthode

public Contains ( ShaderVariant variant ) : bool
variant ShaderVariant
Résultat bool

Remove() public méthode

public Remove ( ShaderVariant variant ) : bool
variant ShaderVariant
Résultat bool

ShaderVariantCollection() public méthode

public ShaderVariantCollection ( ) : System
Résultat System