Skip to content

textureStore

textureStore<T>(texture, coords, value): void

T extends textureStorage1d<StorageTextureFormats, GPUStorageTextureAccess>

T

number

TexelFormatToInstanceType<T[typeof $internal][0]>

void

packages/typegpu/src/std/texture.ts:432

textureStore<T>(texture, coords, value): void

T extends textureStorage2d<StorageTextureFormats, GPUStorageTextureAccess>

T

v2i | v2u

TexelFormatToInstanceType<T[typeof $internal][0]>

void

packages/typegpu/src/std/texture.ts:432

textureStore<T>(texture, coords, arrayIndex, value): void

T extends textureStorage2dArray<StorageTextureFormats, GPUStorageTextureAccess>

T

v2i | v2u

number

TexelFormatToInstanceType<T[typeof $internal][0]>

void

packages/typegpu/src/std/texture.ts:432

textureStore<T>(texture, coords, value): void

T extends textureStorage3d<StorageTextureFormats, GPUStorageTextureAccess>

T

v3i | v3u

TexelFormatToInstanceType<T[typeof $internal][0]>

void

packages/typegpu/src/std/texture.ts:432