Skip to main content

Type Alias: TextureTransformProps

TextureTransformProps = Omit<GPUVectorModelProps, "fs"> & object

Defined in: modules/engine/src/compute/texture-transform.ts:17

Properties for creating a TextureTransform

Type Declaration​

framebuffer?​

optional framebuffer?: Framebuffer

Deprecated​

TODO(donmccurdy): Needed?

fs?​

optional fs?: GPUVectorModelProps["fs"]

inject?​

optional inject?: Record<string, string>

Deprecated​

TODO(donmccurdy): Needed?

inputVectors?​

optional inputVectors?: GPUVectorModelInputs

Borrowed contiguous vectors mapped to vertex-buffer layout names.

sourceBuffers?​

optional sourceBuffers?: Record<string, Buffer>

Deprecated​

TODO(donmccurdy): GPUVectorModel already handles this?

sourceTextures?​

optional sourceTextures?: Record<string, Texture>

Deprecated​

TODO(donmccurdy): GPUVectorModel already handles this?

targetTexture​

targetTexture: Texture

targetTextureChannels​

targetTextureChannels: 1 | 2 | 3 | 4

targetTextureVarying​

targetTextureVarying: string