import { TextureType } from '../../enums'; import { SamplerState, SamplerStateParams } from '../../states'; import { DeviceGL } from '../DeviceGL'; /** * An object with a reference to a webgl texture * @public */ export interface TextureLike { handle: WebGLTexture; type: TextureType; } /** * @public */ export declare class SamplerStateGL extends SamplerState { /** * The graphics device */ readonly device: DeviceGL; get samplerHandle(): WebGLSampler; get textureHandle(): WebGLTexture; private handle; private texture; constructor(device: DeviceGL, texture?: { type: number; handle: WebGLTexture; }); /** * Recreates the underlying sampler object if necessary */ setup(): this; destroy(): this; commitChanges(changes?: SamplerStateParams): this; /** * Resolves the current state from the GPU */ resolve(): this; } //# sourceMappingURL=SamplerStateGL.d.ts.map