import { Instance } from "../../instance-provider/instance"; import { IInstanceAttribute, IVertexAttribute } from "../../types"; import { Layer } from "../layer"; import { LayerScene } from "../layer-scene"; export declare enum LayerBufferType { UNIFORM = 0, INSTANCE_ATTRIBUTE = 1, INSTANCE_ATTRIBUTE_PACKING = 2 } export declare function getLayerBufferType(_gl: WebGLRenderingContext, layer: Layer, vertexAttributes: IVertexAttribute[], instanceAttributes: IInstanceAttribute[]): LayerBufferType; export declare function makeLayerBufferManager(gl: WebGLRenderingContext, layer: Layer, scene: LayerScene): void;