|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Wrapper for EXR file header information with owned data. More...
#include <ExrLoader.h>
Public Member Functions | |
| ExrHeader ()=default | |
| ExrHeader (EXRHeader header) | |
| Construct from native EXRHeader, performing deep copy. | |
Public Attributes | |
| std::string | name |
| Image name/identifier. | |
| int | num_channels = 0 |
| Number of color channels. | |
| int | compression_type = 0 |
| Compression type used. | |
| std::vector< ExrChannelInfo > | channels |
| Channel information for each channel. | |
| bool | valid = false |
| Whether header was successfully loaded. | |
Wrapper for EXR file header information with owned data.
This struct deep-copies header data from the native EXRHeader structure, allowing safe use with ECS systems like flecs. The original EXRHeader can be freed after creating this wrapper.
Definition at line 28 of file ExrLoader.h.
|
default |
|
explicit |
Construct from native EXRHeader, performing deep copy.
| header | The native EXRHeader to copy from |
| std::vector<ExrChannelInfo> Engine::Assets::Textures::ExrHeader::channels |
Channel information for each channel.
Definition at line 41 of file ExrLoader.h.
| int Engine::Assets::Textures::ExrHeader::compression_type = 0 |
Compression type used.
Definition at line 40 of file ExrLoader.h.
| std::string Engine::Assets::Textures::ExrHeader::name |
Image name/identifier.
Definition at line 38 of file ExrLoader.h.
| int Engine::Assets::Textures::ExrHeader::num_channels = 0 |
Number of color channels.
Definition at line 39 of file ExrLoader.h.
| bool Engine::Assets::Textures::ExrHeader::valid = false |
Whether header was successfully loaded.
Definition at line 43 of file ExrLoader.h.