|
Kanzi Graphics Engine
|
Represents the base class for all resources. More...
#include <kzu_resource.h>
Data Fields | |
| struct KzuResourceClass * | resourceClass |
| Class of the resource. More... | |
| struct KzuResourceManager * | resourceManager |
| The resource manager where the resource is registered. More... | |
| kzMutableString | name |
| Name of the resource. More... | |
| struct KzuResourceLoader * | loader |
| Loader for the resource. More... | |
| kzUint | referenceCount |
| Number of references for the resource. More... | |
| enum KzuResourceLoadingStrategy | loadingStrategy |
| Resource loading strategy controls when the resource is loaded and unloaded. More... | |
| enum KzuResourceLoadState | loadState |
| Has the resource been loaded yet. More... | |
Represents the base class for all resources.
This base class contains information related to the type of the resource and the loading status of the resource data. The actual resource data is specific to the sub-classes.
| struct KzuResourceClass* KzuResource::resourceClass |
Class of the resource.
| struct KzuResourceManager* KzuResource::resourceManager |
The resource manager where the resource is registered.
| kzMutableString KzuResource::name |
Name of the resource.
| struct KzuResourceLoader* KzuResource::loader |
Loader for the resource.
| kzUint KzuResource::referenceCount |
Number of references for the resource.
Increased in Acquire&AcquireExisting, decreased in Release.
| enum KzuResourceLoadingStrategy KzuResource::loadingStrategy |
Resource loading strategy controls when the resource is loaded and unloaded.
| enum KzuResourceLoadState KzuResource::loadState |
Has the resource been loaded yet.