glscene

 

TGLSceneBuffer

Page history last edited by skinhat 4 yrs ago

The class used by the buffer property of a TGLSceneViewer. It has properties that allow you to add fog to a scene. It also has a method to create a snap shot of the screen and put it into a bitmap

Important TGLSceneBuffer properties include:

backgroundcolor TGLColor The background color of the scene

fogenvironment TGLFogEnvironment Fog settings

fogenable Whether or not fog is switched on

Important methods include:

function createsnapshot : TGLBitmap32;

Create a snap shot of the screen and return it as a bitmap.

Unit: GLScene

Descends from TGLUpdateAbleObject.

Comments (0)

You don't have permission to comment on this page.