Experimental: this API is experimental and might be changed or removed in the future.

GraphicsStateCollection.RemoveVariant

Declaration

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

Parameters

shader Shader used in the variant.
passId PassIdentifier used in the variant.
keywords Array of keywords used in the variant.

Returns

bool Returns true if successfully removed, false otherwise.

Description

Remove shader variant and associated graphics states from collection.


Did you find this page useful? Please give it a rating: