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

GraphicsStateCollection.RemoveGraphicsStatesForVariant

Declaration

public bool RemoveGraphicsStatesForVariant(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 all associated graphics states from a shader variant.


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