TextureWriteOptions
TextureWriteOptions =
object
Defined in: packages/typegpu/src/core/texture/texture.ts:99
Properties
Section titled “Properties”
optionalfit:TextureWriteFit
Defined in: packages/typegpu/src/core/texture/texture.ts:106
How to handle a source whose dimensions do not match the texture.
By default, mismatched writes throw. Use 'stretch' to resample the
source to the texture’s dimensions.