Navigation
API > API/Plugins > API/Plugins/OpenExrWrapper
Use this to write out tiled EXR images.
Add any attributes after construction. Then you can call CreateOutputFile. After that, you can write out data to the file.
| Name | FTiledRgbaOutputFile |
| Type | class |
| Header File | /Engine/Plugins/Media/ImgMedia/Source/OpenExrWrapper/Public/OpenExrWrapper.h |
| Include Path | #include "OpenExrWrapper.h" |
Syntax
class FTiledRgbaOutputFile : public FBaseOutputFile
Inheritance Hierarchy
- FBaseOutputFile → FTiledRgbaOutputFile
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTiledRgbaOutputFile
(
const FIntPoint& DisplayWindowMin, |
Constructor. | OpenExrWrapper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateOutputFile
(
const FString& FilePath, |
Call this after adding any attributes BUT before doing anything else. | OpenExrWrapper.h | |
void SetFrameBuffer
(
void* Buffer, |
Call this prior to WriteTile to set where the data is coming from. | OpenExrWrapper.h | |
void WriteTile
(
int32 TileX, |
Call this to write data to a specific tile. | OpenExrWrapper.h |
Overridden from FBaseOutputFile
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNumberOfMipLevels() |
Call this to get the number of mipmap levels. | OpenExrWrapper.h |