IImageWrapper::SetRaw

Sets the compressed data.

Windows
MacOS
Linux

References

Module

ImageWrapper

Header

/Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h

Include

#include "IImageWrapper.h"

Syntax

bool SetRaw
(
    const void * InRawData,
    int64 InRawSize,
    const int32 InWidth,
    const int32 InHeight,
    const ERGBFormat InFormat,
    const int32 InBitDepth
)

Remarks

Sets the compressed data.

Returns

true if data was the expected format.

Parameters

Parameter

Description

InRawData

The memory address of the start of the raw data.

InRawSize

The size of the compressed data parsed.

InWidth

The width of the image data.

InHeight

the height of the image data.

InFormat

the format the raw data is in, normally RGBA.

InBitDepth

the bit-depth per channel, normally 8.

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