CRclose: Closes CREx resources.

View source: R/CRclose.R

CRcloseR Documentation

Closes CREx resources.

Description

Closes and deallocates resources that were created and loaded earlier. These can be the basic graphics-list returned by CRopen, the texture-list from CRcreate_texture and other loaded resources returned by CRload_image, CRload_font, CRload_wav or CRopen_controller. Passing the graphics-list to CRclose will close the window.

Usage

CRclose(...)

Arguments

...

One or more lists containing CREx structures (see description). A status list can also be passed optionally, as in most other functions.

Details

Closing is generally necessary for resources that were loaded or created by CREx-functions internally, as opposed to the user in R.

Examples

    gs <- CRopen(50, 50, 500, 500)
    CRclose(gs)

lorweiuk/CREx documentation built on March 16, 2024, 3:04 a.m.