Class TGeneratedTextureHandler

Unit

Declaration

type TGeneratedTextureHandler = class(TObject)

Description

Common interface for all VRML/X3D generated texture nodes.

Hierarchy

  • TObject
  • TGeneratedTextureHandler

Overview

Fields

Public InternalLastStateId: TFrameId;
Public InternalUpdateNeeded: boolean;

Methods

Public constructor Create;

Properties

Public property Update: TSFTextureUpdate read FUpdate;

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 False. Each time something visible affecting the look of this texture possibly changed, it's set to True.

Methods

Public constructor Create;
 

Properties

Public property Update: TSFTextureUpdate read FUpdate;
 

Generated by PasDoc 0.16.0.