Class TGLContainer
Unit
CastleGLContainer
Declaration
type TGLContainer = class abstract(TUIContainer)
Description
Container for controls providing an OpenGL rendering. This class is internally used by TCastleWindowCustom and TCastleControlCustom. It is not useful from the outside, unless you want to implement your own container provider similar to TCastleWindowCustom / TCastleControlCustom.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure EventRender; override; |
|
 |
procedure EventClose(const OpenWindowsCount: Cardinal); override; |
|
 |
procedure RenderControl(const Control: TUIControl; const ViewportRect: TRectangle); |
Render a TUIControl (along with all it's children). Use this to render the UI control off-screen, see e.g. example render_3d_to_texture_and_use_as_quad.lpr.
This doesn't only call Control.Render. It also:
|
 |
function SaveScreen(const SaveRect: TRectangle): TRGBImage; override; |
Save screen by rendering the window contents to the back buffer.
|
Properties
Generated by PasDoc 0.15.0.
|