FImage::Init

Initializes this image with a single slice.

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,
    ERawImageFormat::Type InFormat,
    EGammaSpace InGammaSpace
)

Remarks

Initializes this image with a single slice.

Parameters

Parameter

Description

InSizeX

The image width.

InSizeY

The image height.

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