abstractEngine.renderPass.d.ts 853 B

1234567891011121314151617181920212223242526
  1. declare module "../../Engines/abstractEngine" {
  2. interface AbstractEngine {
  3. /**
  4. * Gets the names of the render passes that are currently created
  5. * @returns list of the render pass names
  6. */
  7. getRenderPassNames(): string[];
  8. /**
  9. * Gets the name of the current render pass
  10. * @returns name of the current render pass
  11. */
  12. getCurrentRenderPassName(): string;
  13. /**
  14. * Creates a render pass id
  15. * @param name Name of the render pass (for debug purpose only)
  16. * @returns the id of the new render pass
  17. */
  18. createRenderPassId(name?: string): number;
  19. /**
  20. * Releases a render pass id
  21. * @param id id of the render pass to release
  22. */
  23. releaseRenderPassId(id: number): void;
  24. }
  25. }
  26. export {};