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 full)

Constructors

Properties

_dirty: boolean = false
_isPrimaryGBufferSet: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
isPrimaryGBuffer: boolean
material: MeshDepthMaterial = ...
passId: "depth" = 'depth'
texture?: Texture
uiConfig?: UiObjectConfig<any, string, any> = undefined
unpackExtension: MaterialExtension = ...
PluginType: "DepthBufferPlugin" = 'DepthBufferPlugin'

Accessors

Methods

Generated using TypeDoc