postProcessRenderPipelineManagerSceneComponent.d.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import type { ISceneComponent } from "../../sceneComponent";
  2. import { PostProcessRenderPipelineManager } from "./postProcessRenderPipelineManager";
  3. import { Scene } from "../../scene";
  4. declare module "../../scene" {
  5. interface Scene {
  6. /** @internal (Backing field) */
  7. _postProcessRenderPipelineManager: PostProcessRenderPipelineManager;
  8. /**
  9. * Gets the postprocess render pipeline manager
  10. * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/postProcessRenderPipeline
  11. * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/defaultRenderingPipeline
  12. */
  13. readonly postProcessRenderPipelineManager: PostProcessRenderPipelineManager;
  14. }
  15. }
  16. /**
  17. * Defines the Render Pipeline scene component responsible to rendering pipelines
  18. */
  19. export declare class PostProcessRenderPipelineManagerSceneComponent implements ISceneComponent {
  20. /**
  21. * The component name helpful to identify the component in the list of scene components.
  22. */
  23. readonly name = "PostProcessRenderPipelineManager";
  24. /**
  25. * The scene the component belongs to.
  26. */
  27. scene: Scene;
  28. /**
  29. * Creates a new instance of the component for the given scene
  30. * @param scene Defines the scene to register the component in
  31. */
  32. constructor(scene: Scene);
  33. /**
  34. * Registers the component in a given scene
  35. */
  36. register(): void;
  37. /**
  38. * Rebuilds the elements related to this component in case of
  39. * context lost for instance.
  40. */
  41. rebuild(): void;
  42. /**
  43. * Disposes the component and the associated resources
  44. */
  45. dispose(): void;
  46. private _gatherRenderTargets;
  47. }