Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::ExrTextureAsset Class Reference

Extension of TextureAsset and stores the Exr header information as well as the texture data. More...

#include <TextureAsset.h>

Inheritance diagram for EngineCore::ExrTextureAsset:
Collaboration diagram for EngineCore::ExrTextureAsset:

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

Detailed Description

Extension of TextureAsset and stores the Exr header information as well as the texture data.

Author
Konstantin Passig
Date
03.12.2025

Definition at line 51 of file TextureAsset.h.

Constructor & Destructor Documentation

◆ ExrTextureAsset()

EngineCore::ExrTextureAsset::ExrTextureAsset ( )
default

◆ ~ExrTextureAsset()

EngineCore::ExrTextureAsset::~ExrTextureAsset ( )
overridedefault

Member Function Documentation

◆ setHeader()

void EngineCore::ExrTextureAsset::setHeader ( ExrHeader & header)

The documentation for this class was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Texture/TextureAsset.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Texture/TextureAsset.cpp