WebGi Rendering Plugins
    Preparing search index...

    Class DepthOfFieldPluginPass<Tid>

    Type Parameters

    • Tid extends IPassID

    Hierarchy

    • ExtendedShaderPass
      • DepthOfFieldPluginPass

    Implements

    • IPipelinePass<Tid>
    Index

    Constructors

    Properties

    after: string[] = ...

    Passes that should run before this pass

    before: string[] = ...

    Passes that should run after this pass

    computeCocMaterial: ExtendedShaderMaterial
    crossAlpha: number = 1
    crossCenter: Vector2 = ...
    crossColor: Color = ...
    crossRadius: number = 0.04
    depthRange: number
    dofBlurMaterial: ExtendedShaderMaterial = dofBlurMaterialPoisson
    enabled: boolean = true
    expandCocMaterial: ExtendedShaderMaterial
    farBlurScale: number
    focalDepthRange: Vector2 = ...
    isExtendedShaderPass: true
    material: ShaderMaterial2
    nearBlurScale: number
    nearFarBlurScale: Vector2 = ...
    onDirty: (() => void)[] = []
    overrideReadBuffer: { texture?: Texture<TextureEventMap> } | null = null
    passId: Tid

    Unique id for the pass. Used to determine the order of passes in the pipeline.

    required: string[] = ...

    Passes that are required to be present in the pipeline to run this pass.

    uiConfig?: UiObjectConfig<any, string, any> = undefined
    DEFAULT_TEX_ID: "tDiffuse" = 'tDiffuse'

    Accessors

    Methods

    • Set the pass as dirty. This is implementation specific to the pass/plugin. It generally calls all onDirty and set the viewer dirty.

      Returns void

    • to be called from beforeRender or onObjectRender or similar.

      Parameters

      • Optionalupdater: IShaderPropertiesUpdater | (IShaderPropertiesUpdater | undefined)[]

      Returns void