textureStore
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Defined in: packages/typegpu/src/std/texture.ts:292
Type Parameters
Section titled “Type Parameters”• T extends TgpuStorageTexture<"1d", TexelData>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”number
TexelDataToInstance<T["texelDataType"]>
Returns
Section titled “Returns”void
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Defined in: packages/typegpu/src/std/texture.ts:292
Type Parameters
Section titled “Type Parameters”• T extends TgpuStorageTexture<"2d", TexelData>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”TexelDataToInstance<T["texelDataType"]>
Returns
Section titled “Returns”void
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,arrayIndex,value):void
Defined in: packages/typegpu/src/std/texture.ts:292
Type Parameters
Section titled “Type Parameters”• T extends TgpuStorageTexture<"2d-array", TexelData>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”arrayIndex
Section titled “arrayIndex”number
TexelDataToInstance<T["texelDataType"]>
Returns
Section titled “Returns”void
Call Signature
Section titled “Call Signature”textureStore<
T>(texture,coords,value):void
Defined in: packages/typegpu/src/std/texture.ts:292
Type Parameters
Section titled “Type Parameters”• T extends TgpuStorageTexture<"3d", TexelData>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
coords
Section titled “coords”TexelDataToInstance<T["texelDataType"]>
Returns
Section titled “Returns”void