ドキュメント

Unity Engine

Unity Engine

RemoveVariant(Shader, PassIdentifier, LocalKeyword[])

Remove shader variant and associated graphics states from collection.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool RemoveVariant(Shader shader, PassIdentifier passId, LocalKeyword[] keywords)

Parameters

shader

Shader used in the variant.

PassIdentifier used in the variant.

Array of keywords used in the variant.

Returns

Type

Description

boolReturns true if successfully removed, false otherwise.