Castle Game Engine: CastleResources

# Unit CastleResources
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description Manage large 3D resources (scenes, precalculated animations and such) that need to be loaded and reference counted. ## Uses CastleVectors Classes CastleXMLConfig CastlePrecalculatedAnimation CastleScene X3DNodes Castle3D DOM FGL CastleBoxes CastleFindFiles ## Overview ### Classes, Interfaces, Objects and Records
Name | Description
--- | ---
Class `T3DResourceAnimation` | Animation defined by T3DResource.
Class `T3DResourceAnimationList` |
Class `T3DResource` | Resource used for rendering and processing of 3D objects.
Class `T3DResourceList` |
### Functions and Procedures
`function Resources: T3DResourceList;`
`procedure RegisterResourceClass(const AClass: T3DResourceClass; const TypeName: string);`
### Types
`T3DResourceClass = class of T3DResource;`
## Description ### Functions and Procedures
`function Resources: T3DResourceList;`
All known resources. Usually you call Resources.LoadFromFiles to fill this list, based on resource.xml files present in your data.
`procedure RegisterResourceClass(const AClass: T3DResourceClass; const TypeName: string);`
Register a resource class, to allow creating resources (like a creature or item) of this class by using appropriate type="xxx" inside resource.xml file.
### Types
`T3DResourceClass = class of T3DResource;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:11