getNextSwapchainColorTexture method
Returns the next 8-bit swapchain color texture for view viewIndex at
size, advancing that view's frame. A new size gets its own ring and
transient pool; the previous size's are kept for a return.
Implementation
gpu.Texture getNextSwapchainColorTexture(
Size size, [
int viewIndex = 0,
gpu.PixelFormat? format,
]) => _view(viewIndex).nextSwapchainColor(size, format);