Class TGeneratedTextureFunctionality
Unit
Declaration
type TGeneratedTextureFunctionality = class(TNodeFunctionality)
Description
Functionality for all X3D nodes that represent generated textures.
Hierarchy
- TObject
- TNodeFunctionality
- TGeneratedTextureFunctionality
Overview
Fields
InternalLastStateId: TFrameId; |
|
InternalUpdateNeeded: boolean; |
Methods
function GetUpdate: TTextureUpdate; virtual; abstract; |
|
procedure SetUpdate(const Value: TTextureUpdate); virtual; abstract; |
|
constructor Create(const TextureNode: TAbstractTextureNode); |
|
function NeedsUpdate: Boolean; |
|
procedure PostUpdate; |
Properties
property Update: TTextureUpdate read GetUpdate write SetUpdate; |
Description
Fields
InternalLastStateId: TFrameId; |
|
Used by TCastleScene to track when to set InternalUpdateNeeded. |
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
function GetUpdate: TTextureUpdate; virtual; abstract; |
|
This item has no description. |
procedure SetUpdate(const Value: TTextureUpdate); virtual; abstract; |
|
This item has no description. |
constructor Create(const TextureNode: TAbstractTextureNode); |
|
This item has no description. |
function NeedsUpdate: Boolean; |
|
Depending on Update, decide whether we need updating. |
procedure PostUpdate; |
|
Call after NeedsUpdate returned |
Properties
property Update: TTextureUpdate read GetUpdate write SetUpdate; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.