import { FrameGraphNode } from "./FrameGraphNode.js";

/**
 * @template T
 */
export class ResourceNode extends FrameGraphNode {
    resource_id = 0;

    /**
     *
     * @type {ResourceDescriptor<T>|null}
     */
    descriptor = null;

    /**
     *
     * @type {FramePassNode|null}
     */
    producer = null;
}

/**
 * @readonly
 * @type {boolean}
 */
ResourceNode.prototype.isResourceNode = true;
