Cogs.Core
Public Attributes | List of all members
Cogs::Core::MaterialLoadInfo Struct Reference

Defines loading information for Material resources. More...

#include <MaterialManager.h>

Inheritance diagram for Cogs::Core::MaterialLoadInfo:
Cogs::Core::ResourceLoadInfoBase

Public Attributes

MaterialLoadFlags materialLoadFlags = MaterialLoadFlags::None
 
- Public Attributes inherited from Cogs::Core::ResourceLoadInfoBase
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

- Public Member Functions inherited from Cogs::Core::ResourceLoadInfoBase
bool loadSync () const
 
bool isReload () const
 
bool shouldAutoReload () const
 
bool noDefaultName () const
 

Detailed Description

Defines loading information for Material resources.

Definition at line 31 of file MaterialManager.h.

Member Data Documentation

◆ materialLoadFlags

MaterialLoadFlags Cogs::Core::MaterialLoadInfo::materialLoadFlags = MaterialLoadFlags::None

Definition at line 33 of file MaterialManager.h.


The documentation for this struct was generated from the following file: