Navigation
Unreal Engine C++ API Reference > Runtime > ImageCore
Inheritance Hierarchy
- FImageInfo
- FImage
References
Module | ImageCore |
Header | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
Include | #include "ImageCore.h" |
Syntax
struct FImage : public FImageInfo
Remarks
Structure for raw image data.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray64< uint8 > | RawData | Raw image data. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FImage () |
Default constructor. | |
![]() |
FImage
(
int32 InSizeX, |
Note: changed default GammaSpace from Linear to GetDefaultGammaSpace | |
![]() |
FImage
(
int32 InSizeX, |
Note: changed default GammaSpace from Linear to GetDefaultGammaSpace | |
![]() |
FImage
(
int32 InSizeX, |
Creates and initializes a new image with a single slice. | |
![]() |
FImage
(
int32 InSizeX, |
Creates and initializes a new image with the specified number of slices. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TArrayView64< FColor > | AsBGRA8 () |
|
![]() ![]() |
TArrayView64< const FColor > | AsBGRA8 () |
|
![]() ![]() |
TArrayView64< const FColor > | AsBGRE8 () |
|
![]() |
TArrayView64< FColor > | AsBGRE8 () |
|
![]() ![]() |
TArrayView64< const uint16 > | AsG16 () |
|
![]() |
TArrayView64< uint16 > | AsG16 () |
|
![]() ![]() |
TArrayView64< const uint8 > | AsG8 () |
|
![]() |
TArrayView64< uint8 > | AsG8 () |
|
![]() ![]() |
TArrayView64< const FFloat16 > | AsR16F () |
|
![]() |
TArrayView64< FFloat16 > | AsR16F () |
|
![]() |
TArrayView64< float > | AsR32F () |
|
![]() ![]() |
TArrayView64< const float > | AsR32F () |
|
![]() |
TArrayView64< uint16 > | AsRGBA16 () |
|
![]() ![]() |
TArrayView64< const uint16 > | AsRGBA16 () |
|
![]() |
TArrayView64< FFloat16Color > | AsRGBA16F () |
|
![]() ![]() |
TArrayView64< const FFloat16Color > | AsRGBA16F () |
|
![]() |
TArrayView64< FLinearColor > | AsRGBA32F () |
|
![]() ![]() |
TArrayView64< const FLinearColor > | AsRGBA32F () |
|
![]() |
void | ChangeFormat
(
ERawImageFormat::Type DestFormat, |
In-place format change : does nothing if already in the desired format |
![]() ![]() |
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 |
![]() |
void | Init
(
int32 InSizeX, |
Initializes this image with the specified number of slices. Allocates RawData. |
![]() |
void | Init
(
int32 InSizeX, |
Initializes this image with a single slice. Allocates RawData. |
![]() |
void | Init
(
int32 InSizeX, |
|
![]() |
void | Init
(
int32 InSizeX, |
|
![]() |
void | Init
(
const FImageInfo& Info |
Initializes this image with specified Info. Allocates RawData. |
![]() ![]() |
void | ||
![]() ![]() |
void | Linearize to a RGBA32F destination image by applying the decoding function that corresponds to the specified source encoding. | |
![]() ![]() |
void | ResizeTo
(
FImage& DestImage, |
Copies and resizes the image to a destination image with the specified size and format. |
![]() |
void | Swap the contents of this FImage with another. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Implicit conversion to FImageView allows FImage to be passed to functions that take FImageView functions that read images should use "const FImageView &" as their argument type |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | TransformToWorkingColorSpace
(
const FVector2d& SourceRedChromaticity, |
TransformToWorkingColorSpace is deprecated, please use the function in FImageCore. |