Delegate ShaderStrippingWatcher.OnShaderStrippedCallbackHandler<TShader, TShaderVariant>
Callback when a shader has been stripped
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public delegate void ShaderStrippingWatcher.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 |
uint | 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 |