Class TGLModeFrozenScreen

Unit

Declaration

type TGLModeFrozenScreen = class(TGLMode)

Description

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.

Hierarchy

  • TObject
  • TGLMode
  • TGLModeFrozenScreen

Overview

Methods

Public constructor Create(AWindow: TCastleWindowCustom);
Public destructor Destroy; override;

Description

Methods

Public constructor Create(AWindow: TCastleWindowCustom);
 
Public destructor Destroy; override;
 

Generated by PasDoc 0.15.0.