Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/Formats
Inheritance Hierarchy
- IImageWrapper
- FHdrImageWrapper
References
| Module | ImageWrapper |
| Header | /Engine/Source/Runtime/ImageWrapper/Public/Formats/HdrImageWrapper.h |
| Include | #include "Formats/HdrImageWrapper.h" |
Syntax
class FHdrImageWrapper : public IImageWrapper
Remarks
http://radsite.lbl.gov/radiance/refer/Notes/picture_format.htmlhttp://paulbourke.net/dataformats/pic/ To load the HDR file image format. Does not support all possible types HDR formats (e.g. xyze is not supported)
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| const FText & | GetErrorMessage : nice idea, but not virtual, never called by the standard import path. | ||
| bool | SetCompressedFromView
(
TArrayView64< const uint8 > Data |
Todo we should have this for all image wrapper. |
Overridden from IImageWrapper
| Type | Name | Description | |
|---|---|---|---|
| bool | CanSetRawFormat
(
const ERGBFormat InFormat, |
CanSetRawFormat returns true if SetRaw will accept this format | |
| int32 | GetBitDepth () |
Gets the bit depth of the image. | |
| TArray64< uint8 > | GetCompressed
(
int32 Quality |
Gets the compressed data. | |
| ERGBFormat | GetFormat () |
Gets the format of the image. | |
| int64 | GetHeight () |
Gets the height of the image. | |
| bool | GetRaw
(
const ERGBFormat InFormat, |
Gets the raw data. | |
| ERawImageFormat::Type | GetSupportedRawFormat
(
const ERawImageFormat::Type InFormat |
Returns InFormat if supported, else maps to something supported the returned format will pass CanSetRawFormat() | |
| int64 | GetWidth () |
Gets the width of the image. | |
| bool | SetCompressed
(
const void* InCompressedData, |
Sets the compressed data. | |
| bool | SetRaw
(
const void* InRawData, |
Sets the raw image data. |