The color space that values written into textures returned by getCurrentTexture should be displayed with.
The GPUDevice that textures returned by getCurrentTexture will be compatible with.
The format that textures returned by getCurrentTexture will have. Must be one of the Supported context formats.
Optional
toneThe tone mapping determines how the content of textures returned by getCurrentTexture are to be displayed.
The usage that textures returned by getCurrentTexture will have. GPUTextureUsage#RENDER_ATTACHMENT is the default, but is not automatically included if the usage is explicitly set. Be sure to include GPUTextureUsage#RENDER_ATTACHMENT when setting a custom usage if you wish to use textures returned by getCurrentTexture as color targets for a render pass.
The formats that views created from textures returned by getCurrentTexture may use.
Generated using TypeDoc
Determines the effect that alpha values will have on the content of textures returned by getCurrentTexture when read, displayed, or used as an image source.