Skip to content

EffectUniformContext

ts
type EffectUniformContext = UniformContext & {
  inputPass: RenderPass;
  previousPass: RenderPass;
};

Context supplied to effect uniform functions.

Type Declaration

NameTypeDescription
inputPassRenderPass- in an effect with only one pass, the inputPass is the pass rendered before this effect. - in an effect with multiple passes, the inputPass is the pass rendered before the first pass of the effect.
previousPassRenderPassThe pass rendered immediately before this specific effect pass.

Released under the MIT License.