Class TPrepareParams
Unit
Declaration
type TPrepareParams = class(TObject)
Description
Information that a TCastleTransform object needs to prepare rendering.
This is an internal class.
You should not need to create it, you should not need to read anything inside or deal with this class otherwise.
The only usage allowed, but deprecated, is to pass an instance of this class taken from TCastleViewport.PrepareParams as a parameter to TCastleTransform.PrepareResources. You should treat this class as a "black box" in normal applications.
Hierarchy
- TObject
- TPrepareParams
Overview
Fields
GlobalLights: TAbstractLightInstancesList; |
|
GlobalFog: TAbstractFogNode; |
|
RendererToPrepareShapes: TObject; |
Description
Fields
GlobalLights: TAbstractLightInstancesList; |
|
Include a headlight and all lights that shine on all scenes (thanks to TCastleScene.CastGlobalLights). It is not necessary to define this (it may be |
GlobalFog: TAbstractFogNode; |
|
World fog, in any, to prepare for. |
RendererToPrepareShapes: TObject; |
|
Always TRenderer, to prepare shapes. This is useful to prepare shapes (rendering them with renderer creates VBOs, shaders, and makes them "ready" for next fast rendering). Note that shapes and scenes *should not* get associated with this TRenderer instance when being prepared. See TRenderParams.RendererToPrepareShapes. |
Generated by PasDoc 0.16.0-snapshot.