文档

Unity Engine

Unity Engine

FilterPassContext

The context of the filter.
阅读时间1 分钟最后更新于 1 个月前

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.