OptionalviewThe GPUTexture view dimension to use. Default to '2d'.
OptionalaspectDefine which aspect of the texture to write the image to. Default to all.
OptionalbaseDefine how many layers from arrayLayerCount are accessible to the view. Default to undefined and let WebGPU handles it. Useful to pick a precise layer into a texture array.
OptionalarrayDefine the first array layer from baseArrayLayer accessible to the view. Default to undefined and let WebGPU handles it. Useful to pick a precise layer into a texture array.
OptionalbaseDefine the first (most detailed) mipmap level from baseMipLevel accessible to the view. Default to undefined and let WebGPU handles it.
OptionalformatThe GPUTexture format to use. Default to 'rgba8unorm'.
OptionalgenerateWhether to generate mips. Default to false.
OptionalflipWhether to flip the source along the Y axis. Default to false.
OptionalpremultipliedWhether this texture should be premultiplied or not. Default to false.
OptionalcolorDefine 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.