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 virtual RenderTexture InternalPostSampling(CustomPassContext ctx, in RenderTexture renderTexture)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx | CustomPassContext used to capture the sample. |
RenderTexture | renderTexture | RenderTexture containing the sample. |
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. |