Method InternalPostSampling
InternalPostSampling(CustomPassContext, in RenderTexture)
Runs after the sampling step, before returning the frame to the sensor. Can be used to do anything with the texture after the sampling is complete. For example: post processing.
Declaration
protected override RenderTexture InternalPostSampling(CustomPassContext ctx, in RenderTexture inputTexture)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx | CustomPassContext used to capture the sample. |
RenderTexture | inputTexture |
Returns
Type | Description |
---|---|
RenderTexture | A render texture with the post processing applied. If the return is null then the frame is assumed to be discarded. |