|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Extension of TextureAsset and stores the Exr header information as well as the texture data. More...
#include <TextureAsset.h>
Public Member Functions | |
| ExrTextureAsset () | |
| Creates an EXR texture asset. | |
| ~ExrTextureAsset () override=default | |
| Destroys the EXR texture asset. | |
| void | setHeader (Textures::ExrHeader &header) |
| Stores EXR header metadata on the backing ECS entity. | |
| Public Member Functions inherited from Engine::Assets::Texture | |
| Texture (bool initEcsData=false) | |
| Creates a texture asset. | |
| ~Texture () override=default | |
| Destroys the texture asset. | |
| void | setImage (tinygltf::Image &&image) |
| sets the image data to an image. The image data will be moved into this asset | |
| void | unload () override |
| unloads all data of this asset | |
| void | updateLoadingState () override |
| updates the loading state according to all components required by this asset | |
| Public Member Functions inherited from Asset::AssetBase | |
| AssetBase (bool initializeDefaultEntity=false) | |
| Creates a base asset and optionally allocates its default ECS entity. | |
| virtual | ~AssetBase () |
| Releases base asset resources. | |
| CpuLoadingState | getLoadingState () |
| Gets the loading state of this asset. | |
| void | requestLoad () |
| If this asset is in the UNLOADED state it will get added to the assets to load. | |
| entt::entity | getEntity () const |
| Getter for data. | |
Additional Inherited Members | |
| Protected Attributes inherited from Asset::AssetBase | |
| CpuLoadingState | loadingState = UNLOADED |
| Current CPU loading state. | |
| entt::registry & | mainRegistry |
| Registry that owns this asset's ECS data. | |
| entt::entity | data |
| Entity containing the asset's component data. | |
Extension of TextureAsset and stores the Exr header information as well as the texture data.
Definition at line 50 of file TextureAsset.h.
| Engine::Assets::ExrTextureAsset::ExrTextureAsset | ( | ) |
Creates an EXR texture asset.
|
overridedefault |
Destroys the EXR texture asset.
| void Engine::Assets::ExrTextureAsset::setHeader | ( | Textures::ExrHeader & | header | ) |
Stores EXR header metadata on the backing ECS entity.
| header | Header data to move into the asset. |