import { Instance } from "../instance-provider/instance"; import { ILayerProps, Layer } from "./layer"; import { Surface } from "./surface"; export declare type CommandCallback = (surface: Surface) => void; export interface ICommandLayerProps extends ILayerProps { commands: CommandCallback; } /** * This is a layer that lets you inject commands into the pipeline. Most * commands are from the Surface.commands property that you will need, but this * opens up the opportunity to make any GL related commands as well. * * Custom GL is VERY ADVANCED useage. You should stick to using Surface.commands * AND read the documentation on those commands. */ export declare class CommandLayer> extends Layer { static defaultProps: ICommandLayerProps; draw(): void; /** The layer renders nothing, thus does not need a shader object */ initShader(): null; }