Interface IRemoveAdditionalDataContextualMenu<T>
Interface that should be used with [ScriptableRenderPipelineExtension(type))] attribute to dispatch ContextualMenu calls on the different SRPs
Namespace: UnityEditor.Rendering
Syntax
public interface IRemoveAdditionalDataContextualMenu<T>
where T : Component
Type Parameters
Name | Description |
---|---|
T | This must be a component that require AdditionalData in your SRP |
Methods
RemoveComponent(T)
Remove the given component
Declaration
void RemoveComponent(T component)
Parameters
Type | Name | Description |
---|---|---|
T | component | The component to remove |