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

/**
 * Doesn't actually do anything, but works as a valid rendering context
 * Mainly useful for testing
 */
export class VoidRenderContext extends IFrameGraphContext {
    createResource(descriptor) {
        return null;
    }

    destroyResource(resource, descriptor) {
    }

    static INSTANCE = new VoidRenderContext();
}