Unit CastleResources

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Manage large 3D resources (scenes, precalculated animations and such) that need to be loaded and reference counted.

Uses

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 2014-05-01 01:41:02