Castle Game Engine: X3DNodes: Class TX3DNodesCache

# Class TX3DNodesCache
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DNodes ## 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 3D models. ## Hierarchy TObject TVideosCache TTexturesVideosCache TX3DNodesCache ## Overview ### Methods
| `constructor Create;`
| `destructor Destroy; override;`
| `function Load3D(const URL: string): TX3DRootNode;`
| `procedure Free3D(var Node: TX3DRootNode);`
| `function Empty: boolean; override;`
## Description ### Methods
| `constructor Create;`
| `destructor Destroy; override;`
| `function Load3D(const URL: string): TX3DRootNode;`
Load 3D model, just like `Load3D` 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.
| `procedure Free3D(var Node: TX3DRootNode);`
Unload previously loaded here 3D model. Node may be `Nil` (then it's ignored), or something loaded by Load3D (then it's released and changed to `Nil`).
| `function Empty: boolean; override;`
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:15