discard abstract method

void discard()

Releases this frame without presenting it.

Use this when rendering is abandoned after acquiring a frame. Discarding a frame does not change GpuImageSurface.currentImage.

Implementation

void discard();