UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

64 lines 1.21 kB
export class RenderPassNode extends GraphNode { /** * * @type {Function} */ execute: Function; /** * * @type {boolean} */ has_side_effects: boolean; /** * * @type {Object} */ data: any; /** * IDs of created resources * @type {number[]} */ resource_creates: number[]; /** * IDs of read resources * @type {number[]} */ resource_reads: number[]; /** * IDs of written resources * @type {number[]} */ resource_writes: number[]; /** * * @param {number} id * @return {boolean} */ creates(id: number): boolean; /** * * @param {number} id * @return {boolean} */ reads(id: number): boolean; /** * * @param {number} id * @return {boolean} */ writes(id: number): boolean; write(resource: any): any; /** * * @param {number} resource * @returns {number} same as the input */ read(resource: number): number; /** * * @return {boolean} */ can_execute(): boolean; } import { GraphNode } from "./GraphNode.js"; //# sourceMappingURL=RenderPassNode.d.ts.map