@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.
35 lines (34 loc) • 818 B
TypeScript
import type { PostProcess } from "../PostProcesses/postProcess.js";
/**
* Interface for defining prepass effects in the prepass post-process pipeline
*/
export interface PrePassEffectConfiguration {
/**
* Name of the effect
*/
name: string;
/**
* Post process to attach for this effect
*/
postProcess?: PostProcess;
/**
* Textures required in the MRT
*/
texturesRequired: number[];
/**
* Is the effect enabled
*/
enabled: boolean;
/**
* Does the output of this prepass need to go through imageprocessing
*/
needsImageProcessing?: boolean;
/**
* Disposes the effect configuration
*/
dispose?: () => void;
/**
* Creates the associated post process
*/
createPostProcess?: () => PostProcess;
}