Class DepthBufferPlugin

Depth Buffer Plugin

Adds a pre-render pass to render the depth buffer to a render target that can be used as gbuffer or for postprocessing.

Hierarchy (View Summary)

Constructors

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
isPrimaryGBuffer: boolean
material: MeshDepthMaterial = ...
passId: "depth" = 'depth'
texture?: Texture
uiConfig?: UiObjectConfig = undefined
unpackExtension: MaterialExtension = ...
OldPluginType?: string
PluginType: "DepthBufferPlugin" = 'DepthBufferPlugin'

Accessors

Methods