end method

Image end()

Submit the rendering batch and it's the commands to the GPU and return the result.

Implementation

Image end() {
  _commandBuffer.submit();
  return _renderTarget.colorAttachments[0].texture.asImage();
}