RemoveVariant(Shader, PassIdentifier, LocalKeyword[])
Remove shader variant and associated graphics states from collection.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
public bool RemoveVariant(Shader shader, PassIdentifier passId, LocalKeyword[] keywords)
Parameters
Shader used in the variant.
PassIdentifier used in the variant.
Array of keywords used in the variant.
Returns
Type | Description |
|---|---|
| bool | Returns true if successfully removed, false otherwise. |