Cogs.Core
|
Public Attributes | |
ResourceDimensions | target = ResourceDimensions::Unknown |
TextureFormat | format = TextureFormat::R8G8B8A8_UNORM_SRGB |
SamplerState::AddressMode | addressMode = SamplerState::Wrap |
int | width = 0 |
int | height = 0 |
int | depth = 0 |
int | layers = 0 |
int | stride = 0 |
int8_t | flip = 0 |
bool | mipMaps = true |
bool | preloading = false |
bool | getColorSpaceFromLoadInfo = false |
![]() | |
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 |
Definition at line 15 of file ITextureLoader.h.
SamplerState::AddressMode Cogs::Core::TextureLoadInfo::addressMode = SamplerState::Wrap |
Definition at line 21 of file ITextureLoader.h.
int Cogs::Core::TextureLoadInfo::depth = 0 |
Definition at line 24 of file ITextureLoader.h.
int8_t Cogs::Core::TextureLoadInfo::flip = 0 |
Definition at line 27 of file ITextureLoader.h.
TextureFormat Cogs::Core::TextureLoadInfo::format = TextureFormat::R8G8B8A8_UNORM_SRGB |
Definition at line 20 of file ITextureLoader.h.
bool Cogs::Core::TextureLoadInfo::getColorSpaceFromLoadInfo = false |
Definition at line 30 of file ITextureLoader.h.
int Cogs::Core::TextureLoadInfo::height = 0 |
Definition at line 23 of file ITextureLoader.h.
int Cogs::Core::TextureLoadInfo::layers = 0 |
Definition at line 25 of file ITextureLoader.h.
bool Cogs::Core::TextureLoadInfo::mipMaps = true |
Definition at line 28 of file ITextureLoader.h.
bool Cogs::Core::TextureLoadInfo::preloading = false |
Definition at line 29 of file ITextureLoader.h.
int Cogs::Core::TextureLoadInfo::stride = 0 |
Definition at line 26 of file ITextureLoader.h.
ResourceDimensions Cogs::Core::TextureLoadInfo::target = ResourceDimensions::Unknown |
Definition at line 19 of file ITextureLoader.h.
int Cogs::Core::TextureLoadInfo::width = 0 |
Definition at line 22 of file ITextureLoader.h.