![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
Functions | |
TexturePtr | CreateFlatTexture2D (ResourceManager &resource_manager, const std::wstring &guid, U32 color) |
TexturePtr mage::rendering::anonymous_namespace{texture_factory.cpp}::CreateFlatTexture2D | ( | ResourceManager & | resource_manager, |
const std::wstring & | guid, | ||
U32 | color | ||
) |
Creates a flat (single-texel) 2D texture.
[in,out] | resource_manager | A reference to the resource manager. |
[in] | guid | A reference to the globally unique identifier. |
[in] | color | The color. |
Exception | Failed to create the texture. |