Class TGeneratedTextureHandler

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGeneratedTextureHandler = class(TObject)

Description

Common interface for all VRML/X3D generated texture nodes.

Hierarchy

  • TObject
  • TGeneratedTextureHandler

Overview

Methods

Public constructor Create;

Properties

Public property UpdateNeeded: boolean read FUpdateNeeded write FUpdateNeeded default true;
Public property Update: TSFTextureUpdate read FUpdate;

Description

Methods

Public constructor Create;
 

Properties

Public property UpdateNeeded: boolean read FUpdateNeeded write FUpdateNeeded default true;

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.

Scene classes (TCastleSceneCore, TCastleScene, TGLRenderer) take 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.

Public property Update: TSFTextureUpdate read FUpdate;
 

Generated by PasDoc 0.13.0 on 2014-04-30 22:06:47