UNPKG

@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.

34 lines (33 loc) 1.05 kB
import type { Nullable } from "../../types.js"; import { WebGPUCacheRenderPipeline } from "./webgpuCacheRenderPipeline.js"; /** @internal */ declare class NodeState { values: { [id: number]: NodeState; }; pipeline: GPURenderPipeline; constructor(); count(): [number, number]; } /** @internal */ export declare class WebGPUCacheRenderPipelineTree extends WebGPUCacheRenderPipeline { private static _Cache; private _nodeStack; static GetNodeCounts(): { nodeCount: number; pipelineCount: number; }; static _GetPipelines(node: NodeState, pipelines: Array<Array<number>>, curPath: Array<number>, curPathLen: number): void; static GetPipelines(): Array<Array<number>>; static ResetCache(): void; reset(): void; protected _getRenderPipeline(param: { token: any; pipeline: Nullable<GPURenderPipeline>; }): void; protected _setRenderPipeline(param: { token: NodeState; pipeline: Nullable<GPURenderPipeline>; }): void; } export {};