Defined in:Contains information about a resource type.
ResourceDescriptor(const char *type, uint32 flags = 0, uint32 cacheSize = 0, const char *defaultName = "");
||A pointer to a three-character or four-character type string for the resource. This should be the resource's file extension without the preceding dot.|
||Flags for the resource type. See below for possible values.|
||The size of the memory cache allocated for the resource type.|
||The name of a resource to load by default when an attempt to load a resource fails.|
ResourceDescriptorclass contains information about a specific resource type and controls how the Resource Manager handles that type of resource.
typeparameter must point to a three-character sequence giving the file extension for resources of the type to which the resource descriptor pertains. The
flagsparameter can be a combination (through logical OR) of the following constants.
||The three-character type is not be appended to resource names as a file extension.|
||An extra byte is added to the end of the memory allocated for this type of resource, and it is set to zero.|
cacheSizeparameter specifies the size of the memory cache allocated by the Resource Manager to hold recently released resources of the descriptor's type.
defaultNameparameter is not the empty string, then it specifies a resource to load by default when an attempt to load a resource of the descriptor's type fails. (The
defaultNameparameter cannot be