|
ClsScene | |
ClsScene | |
Parameters: NONE | |
Returns: NONE | |
ClsScene Clears the scene buffer of any previously captured graphic rendering events. FACTS: * The Scene Buffer does not automatically clear itself Mini Tutorial: This code simply creates a camera, then constantly captures a randomly coloured dot to the scenebuffer. Rather than clearing the scene buffer each loop, the code lets them stack up until either the user presses the Space Key or the 5000 limited is reached.
If you run this example, you'll set the screen slowly filling up with DOTS. This occurs because, we're not Clearing the SceneBuffer each loop through the code. So even though it's only drawing 1 dot per Loop, there slowly stacking up in the scenebuffer queue, until either the Space bar is pressed, or the 5000 limit is reached. |
Related Info: | CameraBasics | CaptureToScene | CreateCamera | DrawCamera : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |