Navigation
API > API/Runtime > API/Runtime/ImageCore > API/Runtime/ImageCore/FImage > API/Runtime/ImageCore/FImage/Init
References
| Module | ImageCore |
| Header | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void Init
&40;
int32 InSizeX,
int32 InSizeY,
int32 InNumSlices,
ERawImageFormat::Type InFormat,
EGammaSpace InGammaSpace
&41;
Remarks
Initializes this image with the specified number of slices. Allocates RawData.
Parameters
| Name | Description |
|---|---|
| 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. |