IDatasmithTextureElement::SetData

Set the output data buffer, used only when no output filename is set

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

void SetData
(
    const uint8 * InData,
    uint32 InDataSize,
    EDatasmithTextureFormat InFormat
)

Remarks

Set the output data buffer, used only when no output filename is set

The given data is not freed by the DatasmithImporter.

Parameters

Parameter

Description

InData

data to load the texture from

InDataSize

size in bytes of the buffer

InFormat

texture format(e.g. png or jpeg)

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