Cogs.Core
|
Defines information used to load a Font resource. More...
#include <IFontLoader.h>
Public Attributes | |
FontDefinition | definition |
Definition of the Font resource. | |
bool | preloading = false |
If the resource is currently preloading, and is not ready for loading yet. | |
![]() | |
ResourceId | resourceId = NoResourceId |
Unique resource identifier. Must be unique among resources of the same kind. | |
std::string | resourcePath |
Resource path. Used to locate resource. | |
std::string | resourceName |
Desired resource name. If no name is given, a default name will be chosen. | |
std::vector< uint8_t > | resourceData |
Resource load data. | |
ResourceFlags | resourceFlags = ResourceFlags::None |
Desired resource flags. Flags will be validated and, if possible, applied to the loaded resource. | |
ResourceLoadFlags | loadFlags = ResourceLoadFlags::None |
Desired loading flags. Used to specify how the resource will be loaded. | |
ResourceHandleBase | handle = ResourceHandleBase::NoHandle |
Handle to resource structure for holding actual resource data. | |
bool | preloading = false |
ResourceProtocol | protocol = ResourceProtocol::None |
Additional Inherited Members | |
![]() | |
bool | loadSync () const |
bool | isReload () const |
bool | shouldAutoReload () const |
bool | noDefaultName () const |
Defines information used to load a Font resource.
Definition at line 16 of file IFontLoader.h.
FontDefinition Cogs::Core::FontLoadInfo::definition |
Definition of the Font resource.
Definition at line 19 of file IFontLoader.h.
Referenced by Cogs::Core::FontManager::loadFont().
bool Cogs::Core::FontLoadInfo::preloading = false |
If the resource is currently preloading, and is not ready for loading yet.
Definition at line 22 of file IFontLoader.h.