Class TGeneratedTextureHandler

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGeneratedTextureHandler = class(TObject)

Description

Helper for all VRML/X3D generated texture nodes.

Hierarchy

  • TObject
  • TGeneratedTextureHandler

Overview

Fields

Public FdUpdate: TSFString;

Methods

Public constructor Create;

Properties

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

Description

Fields

Public FdUpdate: TSFString;
 

Methods

Public constructor Create;
 

Properties

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

When update contains "ALWAYS", 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.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:56