Class GaussianPointSplattingDepthBlitMaterial
Hierarchy (View Summary)
- WebXRSpatialLayerType
- GaussianPointSplattingDepthBlitMaterial
Index
Constructors
constructor
-
new GaussianPointSplattingDepthBlitMaterial(
name: string,
scene: Scene,
): GaussianPointSplattingDepthBlitMaterialCreates a new depth blit material.
Parameters
- name: string
material name
- scene: Scene
hosting scene
Returns GaussianPointSplattingDepthBlitMaterial
- name: string
Methods
set Accum Buffer
-
Binds the resolved accumulation buffer; only its coverage channel is read, to reject empty pixels.
Parameters
- buffer: StorageBuffer
the renderer's accumulation buffer
Returns void
- buffer: StorageBuffer
set Accum Depth Buffer
-
Binds the resolved per-pixel surface depth buffer (NDC z).
Parameters
- buffer: StorageBuffer
the renderer's accumulation depth buffer
Returns void
- buffer: StorageBuffer
set Depth Values
-
Sets the depth renderer's (minZ, minZ + maxZ) normalization pair.
Parameters
- minZ: number
the depth metric offset
- minZPlusMaxZ: number
the depth metric divisor
Returns void
- minZ: number
set Inverse Projection
-
Sets the inverse full projection to recover clip-space z for the depth metric.
Parameters
- inverseProjection: Matrix
inverse camera projection matrix
Returns void
- inverseProjection: Matrix
set Projection Z
-
Sets the active camera's projection matrix z-row, used to recover clip-space z from the stored NDC z.
Parameters
- m10: number
projection matrix element [10]
- m11: number
projection matrix element [11]
- m14: number
projection matrix element [14]
- m15: number
projection matrix element [15]
Returns void
- m10: number
set Resolution
-
Sets the render resolution used to index the accumulation buffers.
Parameters
- width: number
render width in pixels
- height: number
render height in pixels
Returns void
- width: number
set Reverse Depth
-
Sets whether the engine uses a reverse depth buffer (negates clip-space z in the metric).
Parameters
- reverse: boolean
true when the engine uses a reverse depth buffer
Returns void
- reverse: boolean
Writes resolved Gaussian Point Splatting depth into a DepthRenderer map with a fullscreen triangle. The depth is opaque nearest-surface depth, not the coverage-weighted
alphaBlendedDepth. WebGPU only.