Class TX3DNodesCache
Unit
Declaration
type TX3DNodesCache = class(TTexturesVideosCache)
Description
Cache for resources not specific to renderer (OpenGL). Includes all TTexturesVideosCache resources (texture, movie data) and adds cache for files loaded as X3D nodes.
Hierarchy
- TObject
- TVideosCache
- TTexturesVideosCache
- TX3DNodesCache
Overview
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function LoadNode(const URL: String): TX3DRootNode; |
![]() |
function IsCached(const URL: String): Boolean; |
![]() |
function TryCopyNode(const URL: String): TX3DRootNode; |
![]() |
procedure FreeNode(var Node: TX3DRootNode); |
![]() |
function Empty: boolean; override; |
Description
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function LoadNode(const URL: String): TX3DRootNode; |
|
Load model, just like X3DLoad.LoadNode but with a cache. URL must be absolute (not relative). Note that this should not be used if you plan to modify the model graph (for example by VRML/X3D events). In such case, the cache should not be used, as it would make all the model instances shared. For example, if you inline the same model multiple times, you could not modify one instance independent from another. | |
![]() |
function IsCached(const URL: String): Boolean; |
|
Is the given URL cached. | |
![]() |
function TryCopyNode(const URL: String): TX3DRootNode; |
|
If the given URL is cached, return a DeepCopy of the node from cache. Otherwise returns | |
![]() |
procedure FreeNode(var Node: TX3DRootNode); |
|
Unload previously loaded here model. Node may be | |
![]() |
function Empty: boolean; override; |
Generated by PasDoc 0.16.0.
