import { type InitializationData, type SmartFilter } from "../smartFilter.js"; import { ConnectionPointType } from "../connection/connectionPointType.js"; import { BaseBlock } from "./baseBlock.js"; import { type Nullable } from "@onerjs/core/types.js"; import { type RenderTargetWrapper } from "@onerjs/core/Engines/renderTargetWrapper.js"; /** * The output block of a smart filter. * * Only the smart filter will internally create and host the output block. * It should not be exported through the main index.ts module. */ export declare class OutputBlock extends BaseBlock { /** * The class name of the block. */ static ClassName: string; /** * Input connection point of the output block. * This takes a texture as input. */ readonly input: import("../index.js").ConnectionPoint; /** * If supplied, the Smart Filter will render into this RenderTargetWrapper. Otherwise, it renders * into the the canvas or WebGL context the ThinEngine is using for rendering. */ renderTargetWrapper: Nullable; /** * Create a new output block. * @param smartFilter - The smart filter this block belongs to */ constructor(smartFilter: SmartFilter); /** * Prepares all blocks for runtime by traversing the graph. */ prepareForRuntime(): void; /** * Propagates the runtime data for all graph blocks. */ propagateRuntimeData(): void; /** * Generates the commands needed to execute the block at runtime and gathers promises for initialization work * @param initializationData - The initialization data to use * @param finalOutput - Defines if the block is the final output of the smart filter */ generateCommandsAndGatherInitPromises(initializationData: InitializationData, finalOutput: boolean): void; } //# sourceMappingURL=outputBlock.d.ts.map