import type { EntityRuntime } from '@flighthq/entity/contract'; import type { ImageResource } from '@flighthq/image/contract'; import type { ExternalTexture, RenderTexture } from '@flighthq/render/contract'; import type { TextureSource } from '@flighthq/texture/contract'; import type { GlColorAdjustmentResources, GlParticleResources, GlQuadBatchResources, GlShapeMeshResources } from './glOwnerTypes.ts'; import type { GlBlendSignature, GlBoundShader } from './glRenderStateTypes.ts'; import type { GlRenderTextureEntry } from './glRenderTextureTypes.ts'; import type { GlTextureRealization } from './glTextureResolverTypes.ts'; import type { GlContext } from './types.ts'; export interface GlContextRuntime extends EntityRuntime { readonly gl: GlContext; references: number; teardowns: Array<(gl: GlContext) => void>; currentBlendSignature: GlBlendSignature | null; currentShader: GlBoundShader | null; currentTextureRealization: GlTextureRealization | null; quadIndexBuffer: WebGLBuffer; quadVertexBuffer: WebGLBuffer; textureCache: WeakMap; textureSourcePremultipliedTextureCache: WeakMap; textureSourcePremultipliedSrgbTextureCache: WeakMap; textureSourceStraightTextureCache: WeakMap; textureSourceStraightSrgbTextureCache: WeakMap; glExternalTextureCache?: WeakMap; glRenderTextureCache?: WeakMap; videoTextureCache?: WeakMap; videoSrgbTextureCache?: WeakMap; mipmappedTextures?: WeakSet; anisotropyExt?: EXT_texture_filter_anisotropic | null; maxAnisotropy?: number; sceneMeshUploadCache?: WeakMap | null; colorAdjustmentResources: GlColorAdjustmentResources | null; particleResources: GlParticleResources | null; quadBatchResources: GlQuadBatchResources | null; shapeMeshResources: GlShapeMeshResources | null; } //# sourceMappingURL=glContextRuntimeTypes.d.ts.map