import { type SmartFilter } from "../smartFilter.js"; import { type ConnectionPoint } from "../connection/connectionPoint.js"; import { ConnectionPointType } from "../connection/connectionPointType.js"; import { ShaderBlock } from "./shaderBlock.js"; import { BlockDisableStrategy } from "./blockDisableStrategy.js"; export { BlockDisableStrategy } from "./blockDisableStrategy.js"; /** * The interface that describes the disableable block. */ export interface IDisableableBlock { /** * The disabled connection point of the block. */ disabled: ConnectionPoint; } /** * A ShaderBlock that can be disabled. The optimizer can optionally remove disabled blocks from the graph, * or they can be controlled by the disabled connection point at runtime. If disabled, they pass the * mainInputTexture through to the output connection point. */ export declare abstract class DisableableShaderBlock extends ShaderBlock implements IDisableableBlock { /** * The disabled connection point of the block. */ readonly disabled: import("../connection/connectionPointWithDefault.js").ConnectionPointWithDefault; /** * The strategy to use for making this block disableable. */ readonly blockDisableStrategy: BlockDisableStrategy; private static _HasModifiedShaderCode; private get _hasModifiedShaderCode(); private set _hasModifiedShaderCode(value); /** * Gets the shader program to use to render the block. * @returns The shader program to use to render the block */ getShaderProgram(): import("../index.js").ShaderProgram; /** * Instantiates a new block. * @param smartFilter - Defines the smart filter the block belongs to * @param name - Defines the name of the block * @param disableOptimization - Defines if the block should not be optimized (default: false) * @param disableStrategy - Defines the strategy to use for making this block disableable (default: BlockDisableStrategy.AutoSample) */ constructor(smartFilter: SmartFilter, name: string, disableOptimization?: boolean, disableStrategy?: BlockDisableStrategy); } //# sourceMappingURL=disableableShaderBlock.d.ts.map