textureStore
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Type Parameters
Section titled “Type Parameters”• T extends textureStorage1d<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”number
TexelFormatToInstanceType<T[typeof $internal][0]>
Returns
Section titled “Returns”void
Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:432
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Type Parameters
Section titled “Type Parameters”• T extends textureStorage2d<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”TexelFormatToInstanceType<T[typeof $internal][0]>
Returns
Section titled “Returns”void
Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:432
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,arrayIndex,value):void
Type Parameters
Section titled “Type Parameters”• T extends textureStorage2dArray<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”arrayIndex
Section titled “arrayIndex”number
TexelFormatToInstanceType<T[typeof $internal][0]>
Returns
Section titled “Returns”void
Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:432
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Type Parameters
Section titled “Type Parameters”• T extends textureStorage3d<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”TexelFormatToInstanceType<T[typeof $internal][0]>
Returns
Section titled “Returns”void