Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FilterPassContext

The context of the filter.
Read time 1 minuteLast updated 6 days ago

Definition

public struct FilterPassContext

Properties

Property

Description

filterFunctionThe filter function for which the specified pass is being executed.
filterPassIndexThe index of the pass.
postProcessingPassThe filter pass that is being executed.
readsGammaIndicates if sampling the source texture yields a color in the gamma color space.
scaledPixelsPerPointThe number of pixels per point in the texture being filtered. Multiply point-based parameter values by this factor to convert them to pixels.
writesGammaIndicates if the shader must return a color in the gamma color space.