@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.
24 lines (23 loc) • 715 B
TypeScript
import type { PrePassEffectConfiguration } from "./prePassEffectConfiguration.js";
/**
* Contains all parameters needed for the prepass to perform
* screen space reflections
*/
export declare class ScreenSpaceReflections2Configuration implements PrePassEffectConfiguration {
/**
* Is ssr enabled
*/
enabled: boolean;
/**
* Name of the configuration
*/
name: string;
/**
* Textures that should be present in the MRT for this effect to work
*/
readonly texturesRequired: number[];
/**
* @param useScreenspaceDepth If the effect should use the screenspace depth texture instead of a linear one
*/
constructor(useScreenspaceDepth?: boolean);
}