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.

22 lines (21 loc) 789 B
import { type Nullable } from "../types.js"; import { type SubSurfaceConfiguration } from "./subSurfaceConfiguration.js"; declare module "../scene.pure.js" { interface Scene { /** @internal (Backing field) */ _subSurfaceConfiguration: Nullable<SubSurfaceConfiguration>; /** * Gets or Sets the current prepass renderer associated to the scene. */ subSurfaceConfiguration: Nullable<SubSurfaceConfiguration>; /** * Enables the subsurface effect for prepass * @returns the SubSurfaceConfiguration */ enableSubSurfaceForPrePass(): Nullable<SubSurfaceConfiguration>; /** * Disables the subsurface effect for prepass */ disableSubSurfaceForPrePass(): void; } }