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) 369 B
import type { Scene } from "../../scene.js"; import { ShaderMaterial } from "../shaderMaterial.js"; import "../../Shaders/color.fragment.js"; import "../../Shaders/color.vertex.js"; /** * A material to use for fast depth-only rendering. * @since 5.0.0 */ export declare class OcclusionMaterial extends ShaderMaterial { constructor(name: string, scene: Scene); }