Class TAbstractTexture3DNode
Unit
X3DNodes
Declaration
type TAbstractTexture3DNode = class(TAbstractTextureNode)
Description
no description available, TAbstractTextureNode description follows no description available, TAbstractAppearanceChildNode description follows no description available, TAbstractNode description follows
Base X3D node.
Almost all X3D nodes inherit from this. (Exception: X3DMetadataObject. So you cannot have metadata of metadata of...)
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure LoadTextureData; virtual; abstract; |
This does the actual loading of texture data.
You can assume here that texture is not loaded now, UsedCache, FTextureImage, FTextureDDS are all nil. Try to load the texture data, making OnWarning as appropriate, and set all UsedCache, FTextureImage, FTextureDDS, FAlphaChannelData.
|
 |
procedure CreateNode; override; |
|
 |
destructor Destroy; override; |
|
Properties
 |
property FdRepeatS: TSFBool read FFdRepeatS; |
|
 |
property FdRepeatT: TSFBool read FFdRepeatT; |
|
 |
property FdRepeatR: TSFBool read FFdRepeatR; |
|
 |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
|
 |
property TextureLoaded: boolean
read FTextureLoaded write SetTextureLoaded; |
Load and unload 3D texture.
When loading, we will try to set TextureImage and TextureDDS. If loading is successfull, TextureImage will be always set to non-nil (TextureDDS will be set to non-nil only if image came from some DDS image). If loading failed, both TextureImage and TextureDDS will be Nil .
Note that even when loading failed (TextureImage remained Nil ), TextureLoaded value still changes to True . This is good — it makes assignment TextureLoaded := true always work, and (more important) it prevents trying to load (and displaying uselessly the same OnWarning) again at successful TextureLoaded := true .
In case of problems (for example when some URL cannot be loaded), we will make OnWarning.
|
 |
property TextureDDS: TDDSImage read FTextureDDS; |
|
Generated by PasDoc 0.13.0 on 2014-10-26 05:15:18
|