Class TGeneratedTextureFunctionality
Unit
X3DNodes
Declaration
type TGeneratedTextureFunctionality = class(TNodeFunctionality)
Description
Functionality for all X3D nodes that represent generated textures.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
 |
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 False. Each time something visible affecting the look of this texture possibly changed, it's set to True.
|
Methods
 |
function NeedsUpdate: Boolean; |
|
Depending on Update, decide whether we need updating.
|
 |
procedure PostUpdate; |
|
Call after NeedsUpdate returned True and you updated the texture. Will take care of sending "NONE" after "NEXT_FRAME_ONLY".
|
Properties
Generated by PasDoc 0.16.0.