|
Vulkan Schnee 0.0.1
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 () | |
| ~ExrTextureAsset () override=default | |
| void | setHeader (ExrHeader &header) |
| Public Member Functions inherited from EngineCore::TextureAsset | |
| TextureAsset (bool initEcsData=false) | |
| ~TextureAsset () override=default | |
| 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) | |
| virtual | ~AssetBase () |
| 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 |
| entt::registry & | mainRegistry |
| entt::entity | data |
Extension of TextureAsset and stores the Exr header information as well as the texture data.
Definition at line 51 of file TextureAsset.h.
|
default |
|
overridedefault |
| void EngineCore::ExrTextureAsset::setHeader | ( | ExrHeader & | header | ) |
Definition at line 61 of file TextureAsset.cpp.
References Asset::AssetBase::data, Ecs::ExrHeaderData::header, and Asset::AssetBase::mainRegistry.