Class TGeneratedTextureFunctionality
Unit
Declaration
type TGeneratedTextureFunctionality = class(TNodeFunctionality)
Description
Functionality for all X3D nodes that represent generated textures.
Source: scene/x3d/x3dnodes_generatedtextures.inc (line 25).
Hierarchy
- TObject
- TNodeFunctionality
- TGeneratedTextureFunctionality
Overview
Fields
| Public | InternalLastStateId: TFrameId; |
| Public | InternalUpdateNeeded: boolean; |
Methods
| Protected | function GetUpdate: TTextureUpdate; virtual; abstract; |
| Protected | procedure SetUpdate(const Value: TTextureUpdate); virtual; abstract; |
| Public | constructor Create(const TextureNode: TAbstractTextureNode); |
| Public | function NeedsUpdate: Boolean; |
| Public | procedure PostUpdate; |
Properties
| Public | property Update: TTextureUpdate read GetUpdate write SetUpdate; |
Description
Fields
| Public | InternalLastStateId: TFrameId; |
|
Used by TCastleScene to track when to set InternalUpdateNeeded. | |
| Public | InternalUpdateNeeded: boolean; |
|
When Update is upAlways, you can check this to know if really something visible changed since last update. If not, then you do not have to update the texture — no point, since it would look exactly like the current one. TCastleScene takes care to set this field. After each actual update of the texture, it's set to | |
Methods
| Protected | function GetUpdate: TTextureUpdate; virtual; abstract; |
|
This item has no description. | |
| Protected | procedure SetUpdate(const Value: TTextureUpdate); virtual; abstract; |
|
This item has no description. | |
| Public | constructor Create(const TextureNode: TAbstractTextureNode); |
|
This item has no description. | |
| Public | function NeedsUpdate: Boolean; |
|
Depending on Update, decide whether we need updating. | |
| Public | procedure PostUpdate; |
|
Call after NeedsUpdate returned | |
Properties
| Public | property Update: TTextureUpdate read GetUpdate write SetUpdate; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.