present abstract method
- CommandBuffer commandBuffer
Publishes this frame and returns the presentation status.
The commandBuffer must be the command buffer that contains the final
writes to colorTexture. Call this method after recording those writes
and before submitting commandBuffer.
Calling this method does not submit commandBuffer. You must submit it for
the presented frame to be rendered.
For an image surface, the published image is available from GpuImageSurface.currentImage.
Implementation
GpuPresentStatus present(CommandBuffer commandBuffer);