Navigation
API > API/Runtime > API/Runtime/ImageCore
Inheritance Hierarchy
- FImageInfo
- FImageView
References
| Module | ImageCore |
| Header | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include | #include "ImageCore.h" |
Syntax
struct FImageView : public FImageInfo
Variables
| Type | Name | Description | |
|---|---|---|---|
| void * | RawData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FImageView () |
|||
FImageView
(
const FImageInfo& InInfo, |
|||
FImageView
(
const FLinearColor* InColors, |
Make an FImageView from an array of FLinearColor pixels as RGBA32F. | ||
FImageView
(
const FFloat16Color* InColors, |
Make an FImageView from an array of FLinearColor pixels as RGBA16F. | ||
FImageView
(
const FColor* InColors, |
Make an FImageView from an array of FColor pixels as BGRA8. | ||
FImageView
(
void* InData, |
|||
FImageView
(
void* InData, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView64< FColor > | AsBGRA8 () |
||
| TArrayView64< FColor > | AsBGRE8 () |
||
| TArrayView64< uint16 > | AsG16 () |
||
| TArrayView64< uint8 > | AsG8 () |
Convenience accessors to raw data these are const member functions because the FImageView object itself is const, but the image it points to may not be | |
| TArrayView64< FFloat16 > | AsR16F () |
||
| TArrayView64< float > | AsR32F () |
||
| TArrayView64< uint16 > | AsRGBA16 () |
||
| TArrayView64< FFloat16Color > | AsRGBA16F () |
||
| TArrayView64< FLinearColor > | AsRGBA32F () |
||
| void | CopyTo same format. | ||
| void | CopyTo
(
FImage& DestImage, |
Copies the image to a destination image with the specified format. | |
| const FLinearColor | GetOnePixelLinear
(
int32 X, |
Get one pixel from the image and return in Linear color. | |
| void * | GetPixelPointer
(
int32 X, |
Get a pointer to a pixel | |
| FImageView | GetSlice
(
int32 SliceIndex |
Get an FImageView to one 2d slice |