Delegate ShaderStrippingWatcher.OnShaderStrippedCallbackHandler<TShader, TShaderVariant>
Callback when a shader has been stripped
Namespace: UnityEditor.Rendering
Syntax
public delegate void OnShaderStrippedCallbackHandler<TShader, TShaderVariant>(TShader shader, TShaderVariant shaderVariant, uint variantsOut, double stripTimeMs)
where TShader : Object;
Parameters
Type | Name | Description |
---|---|---|
TShader | shader | The shader |
TShaderVariant | shaderVariant | The variant |
UInt32 | variantsOut | The output variants after the stripping process |
Double | stripTimeMs | The total amount of time to strip the variants |
Type Parameters
Name | Description |
---|---|
TShader | The shader |
TShaderVariant | The variant |