UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

12 lines (11 loc) 357 B
import type { Scene } from "../../scene"; import { ShaderMaterial } from "../shaderMaterial"; import "../../Shaders/color.fragment"; import "../../Shaders/color.vertex"; /** * A material to use for fast depth-only rendering. * @since 5.0.0 */ export declare class OcclusionMaterial extends ShaderMaterial { constructor(name: string, scene: Scene); }