textureStorage2d
Call Signature
Section titled “Call Signature”textureStorage2d<
TFormat,TAccess>(format,access):WgslStorageTexture2d<TFormat,TAccess>
Defined in: packages/typegpu/src/data/texture.ts:565
Type Parameters
Section titled “Type Parameters”TFormat
Section titled “TFormat”TFormat extends StorageTextureFormats
TAccess
Section titled “TAccess”TAccess extends GPUStorageTextureAccess
Parameters
Section titled “Parameters”format
Section titled “format”TFormat
access
Section titled “access”TAccess
Returns
Section titled “Returns”WgslStorageTexture2d<TFormat, TAccess>
Call Signature
Section titled “Call Signature”textureStorage2d<
TFormat>(format):WgslStorageTexture2d<TFormat,"write-only">
Defined in: packages/typegpu/src/data/texture.ts:569
Type Parameters
Section titled “Type Parameters”TFormat
Section titled “TFormat”TFormat extends StorageTextureFormats
Parameters
Section titled “Parameters”format
Section titled “format”TFormat
Returns
Section titled “Returns”WgslStorageTexture2d<TFormat, "write-only">