FImage::Init

Initializes this image with the specified number of slices.

Windows
MacOS
Linux

References

Module

ImageCore

Header

/Engine/Source/Runtime/ImageCore/Public/ImageCore.h

Include

#include "ImageCore.h"

Source

/Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp

Syntax

void Init
(
    int32 InSizeX,
    int32 InSizeY,
    int32 InNumSlices,
    ERawImageFormat::Type InFormat,
    EGammaSpace InGammaSpace
)

Remarks

Initializes this image with the specified number of slices.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss