import { type FrameGraph, type FrameGraphContext, type FrameGraphPass } from "../../../index.js"; import { FrameGraphTask } from "../../frameGraphTask.js"; /** * Task used to execute a custom function. */ export declare class FrameGraphExecuteTask extends FrameGraphTask { /** * The function to execute. */ func: (context: FrameGraphContext) => void; /** * The function to execute when the task is disabled (optional). */ funcDisabled?: (context: FrameGraphContext) => void; /** * Custom readiness check (optional). */ customIsReady?: () => boolean; isReady(): boolean; /** * Creates a new execute task. * @param name The name of the task. * @param frameGraph The frame graph the task belongs to. */ constructor(name: string, frameGraph: FrameGraph); getClassName(): string; record(): FrameGraphPass; }