IComputePipelineContext.d.ts 637 B

12345678910111213141516171819
  1. /**
  2. * Class used to store and describe the pipeline context associated with a compute effect
  3. */
  4. export interface IComputePipelineContext {
  5. /**
  6. * Gets a boolean indicating that this pipeline context is supporting asynchronous creating
  7. */
  8. isAsync: boolean;
  9. /**
  10. * Gets a boolean indicating that the context is ready to be used (like shader / pipeline are compiled and ready for instance)
  11. */
  12. isReady: boolean;
  13. /** @internal */
  14. _name?: string;
  15. /** @internal */
  16. _getComputeShaderCode(): string | null;
  17. /** Releases the resources associated with the pipeline. */
  18. dispose(): void;
  19. }