import { Context } from './context'; /** * Provides the size in bytes of certain WebGL format enumerator. Please note that some byte sizes might vary based on * context attributes or the bound render, thus, DEPTH_COMPONENT and DEPTH_STENCIL are not covered by this function. * This function does NOT cover data types that are usually on CPU side, not GPU, e.g., UNSIGNED_BYTE, * UNSIGNED_SHORT_5_6_5, HALF_FLOAT, UNSIGNED_SHORT, FLOAT, etc. and will assert when provided with types. * @param context - The OpenGL context. * @param format - Format identifier of the target internal OpenGL data type. * @returns - The size in bytes of one type instance on the GPU. */ export declare function byteSizeOfFormat(context: Context, format: GLenum): number;