-
Notifications
You must be signed in to change notification settings - Fork 2
Sandbox
scriptum edited this page Mar 29, 2012
·
1 revision
cheetah.init(appName, width, height, bpp, attr)
Create window and init all OpenGL's syuff. You MUST call this before any graphics function, e.g. cheetah.newImage. You may call this function again to resize window, change application title, toggle fullscreen. Other optoins are ignored.
Parameters
- appName application's title shown in titlebar
Return value
cheetah.init(appName, width, height, bpp, attr)
Create window and init all OpenGL's stuff. You MUST call this before any graphics function, e.g. cheetah.newImage. You may call this function again to resize window, change application title, toggle fullscreen. Other optoins are ignored.
Parameters
- appName application's title shown in titlebar
Return value