Navigation
API > API/Runtime > API/Runtime/ImageCore > API/Runtime/ImageCore/FImage
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const FImageInfo& Info |
Initializes this image with specified Info. Allocates RawData. | ImageCore.h | |
void Init
(
int32 InSizeX, |
ImageCore.h | ||
void Init
(
int32 InSizeX, |
ImageCore.h | ||
void Init
(
int32 InSizeX, |
Initializes this image with a single slice. Allocates RawData. | ImageCore.h | |
void Init
(
int32 InSizeX, |
Initializes this image with the specified number of slices. Allocates RawData. | ImageCore.h |
Init(const FImageInfo &)
Description
Initializes this image with specified Info. Allocates RawData.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void Init
(
const FImageInfo & Info
)
Parameters
| Name | Remarks |
|---|---|
| Info | The image description. Can also pass an FImage or FImageView to this function. |
Init(int32, int32, ERawImageFormat::Type)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
void Init
(
int32 InSizeX,
int32 InSizeY,
ERawImageFormat::Type InFormat
)
Init(int32, int32, int32, ERawImageFormat::Type)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
void Init
(
int32 InSizeX,
int32 InSizeY,
int32 InNumSlices,
ERawImageFormat::Type InFormat
)
Init(int32, int32, ERawImageFormat::Type, EGammaSpace)
Description
Initializes this image with a single slice. Allocates RawData.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void Init
(
int32 InSizeX,
int32 InSizeY,
ERawImageFormat::Type InFormat,
EGammaSpace InGammaSpace
)
Parameters
| Name | Remarks |
|---|---|
| InSizeX | The image width. |
| InSizeY | The image height. |
| InFormat | The image format. |
| bInSRGB | Whether the color values are in SRGB format. |
Init(int32, int32, int32, ERawImageFormat::Type, EGammaSpace)
Description
Initializes this image with the specified number of slices. Allocates RawData.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void Init
(
int32 InSizeX,
int32 InSizeY,
int32 InNumSlices,
ERawImageFormat::Type InFormat,
EGammaSpace InGammaSpace
)
Parameters
| Name | Remarks |
|---|---|
| InSizeX | The image width. |
| InSizeY | The image height. |
| InNumSlices | The number of slices. |
| InFormat | The image format. |
| bInSRGB | Whether the color values are in SRGB format. |