TextureLoadInfo
Description struct for Texture
loading job.
File location: framework/cauldron/framework/inc/core/loaders/textureloader.h
Construction
Return type |
Description |
---|---|
TextureLoadInfo ( std::experimental::filesystem::path file, bool srgb = true, float alphaThreshold = 1.f, ResourceFlags flags = ResourceFlags::None )
|
Detailed description
Description struct for Texture
loading job.
Data fields
Type |
Description |
---|---|
std::experimental::filesystem::path |
TextureFile
Path to the texture to load.
|
bool |
SRGB
If we need this to be in SRGB format.
|
float |
AlphaThreshold
Alpha threshold for alpha generation.
|
ResourceFlags |
Flags
“ResourceFlags“ for the loaded “Texture“.
|