Introduction
Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
CastleWindowModes
type TGLModeFrozenScreen = class(TGLMode)
Enter / exit modal box on a TCastleWindowCustom, additionally saving the screen contents before entering modal box. This is nice if you want to wait for some event (like pressing a key), keeping the same screen displayed.
During this lifetime, we set special TCastleWindowCustom.OnRender and TCastleWindowCustom.OnResize to draw the saved image in a simplest 2D OpenGL projection.
constructor Create(AWindow: TCastleWindowCustom);
destructor Destroy; override;