Optional
formatThe GPUTexture format to use. Default to 'rgba8unorm'
.
Optional
generateWhether to generate mips. Default to false
.
Optional
flipYWhether to flip the source along the Y axis. Default to false
.
Optional
premultipliedWhether this texture should be premultiplied or not. Default to false
.
Optional
viewThe GPUTexture view dimension to use. Default to '2d'
.
Optional
aspectDefine which aspect of the texture to write the image to. Default to all
.
Optional
colorDefine the colorSpace and encoding used to encode data into the destination texture. Default to srgb
.
Base parameters used to copy an external image to a texture, i.e. that will be uploaded to the GPU using copyExternalImageToTexture.