import { Buffer, Device, Framebuffer, RenderPassProps, Sampler, Texture } from '@luma.gl/core'; import { Model, ModelProps } from "../model/model.js"; /** * Properties for creating a {@link TextureTransform} * @deprecated */ export type TextureTransformProps = Omit & { fs?: ModelProps['fs']; /** @deprecated TODO(donmccurdy): Needed? */ inject?: Record; /** @deprecated TODO(donmccurdy): Needed? */ framebuffer?: Framebuffer; /** @deprecated TODO(donmccurdy): Model already handles this? */ sourceBuffers?: Record; /** @deprecated TODO(donmccurdy): Model already handles this? */ sourceTextures?: Record; targetTexture: Texture; targetTextureChannels: 1 | 2 | 3 | 4; targetTextureVarying: string; }; type TextureBinding = { sourceBuffers: Record; sourceTextures: Record; targetTexture: Texture; framebuffer?: Framebuffer; }; /** * Creates a pipeline for texture→texture transforms. * @deprecated */ export declare class TextureTransform { readonly device: Device; readonly model: Model; readonly sampler: Sampler; currentIndex: number; samplerTextureMap: Record | null; bindings: TextureBinding[]; resources: Record; constructor(device: Device, props: TextureTransformProps); destroy(): void; /** @deprecated Use {@link destroy}. */ delete(): void; run(options?: RenderPassProps): void; /** @deprecated */ update(...args: any[]): void; getData({ packed }?: { packed?: boolean; }): void; getTargetTexture(): Texture; getFramebuffer(): Framebuffer; _initialize(props: TextureTransformProps): void; _updateBindings(props: TextureTransformProps): void; _updateBinding(binding: TextureBinding, { sourceBuffers, sourceTextures, targetTexture }: TextureTransformProps): TextureBinding; _setSourceTextureParameters(): void; } export {}; //# sourceMappingURL=texture-transform.d.ts.map