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