API

Class GaussianSplattingGpuPickingMaterialPluginExperimental

Plugin for GaussianSplattingMaterial that replaces per-splat color output with a pre-computed picking color for GPU-based hit testing.

The picking color is computed on the CPU by encoding a 24-bit picking ID as RGB (matching the readback decoding in GPUPicker).

Hierarchy (View Summary)

Index
doNotSerialize: boolean = false

Specifies if the material plugin should be serialized, true to skip serialization

markAllDefinesAsDirty: () => void

Helper function to mark defines as being dirty.

name: string

Defines the name of the plugin

priority: number = 500

Defines the priority of the plugin. Lower numbers run first.

registerForExtraEvents: boolean = false

Indicates that this plugin should be notified for the extra events (HasRenderTargetTextures / FillRenderTargetTextures / HardBindForSubMesh)

resolveIncludes: boolean = false

Indicates that any #include directive in the plugin code must be replaced by the corresponding code.