Contents

createSnapshotImage(ofType:)

Returns the current image in the OpenGL context associated with the renderer, as an image object of the provided image type.

Declaration

func createSnapshotImage(ofType type: String!) -> Any!

Parameters

Return Value

The snapshot image in the provided image type. You are responsible for releasing this object when you no longer need it.

See Also

Taking Snapshot Images