/** @packageDocumentation
 * @module WebGL
 */
import { WebGLDisposable } from "./Disposable";
import { GL } from "./GL";
/** @internal */
export declare class RenderBuffer implements WebGLDisposable {
    private _glBuffer?;
    private _bytesUsed;
    private _width;
    private _height;
    get bytesUsed(): number;
    get width(): number;
    get height(): number;
    getHandle(): WebGLRenderbuffer | undefined;
    static create(width: number, height: number, format?: GL.RenderBuffer.Format): RenderBuffer | undefined;
    get isDisposed(): boolean;
    [Symbol.dispose](): void;
    bind(): void;
    private constructor();
    private static bindBuffer;
    private static unbind;
}
/**
 * A RenderBuffer for doing antialiasing (multisampling).
 * @internal
 */
export declare class RenderBufferMultiSample implements WebGLDisposable {
    private _glBuffer?;
    private _bytesUsed;
    private _width;
    private _height;
    private _isDirty;
    get bytesUsed(): number;
    get width(): number;
    get height(): number;
    get isDirty(): boolean;
    markBufferDirty(dirty: boolean): void;
    getHandle(): WebGLRenderbuffer | undefined;
    static create(width: number, height: number, format: number, numSamples: number): RenderBufferMultiSample | undefined;
    get isDisposed(): boolean;
    [Symbol.dispose](): void;
    bind(): void;
    private constructor();
    private static bindBuffer;
    private static unbind;
}
//# sourceMappingURL=RenderBuffer.d.ts.map