Navigation
API > API/Developer > API/Developer/DatasmithFacade > API/Developer/DatasmithFacade/FDatasmithFacadeTexture
Description
Set the output data buffer, used only when no output filename is set
The given data is not freed by the DatasmithImporter.
| Name | SetData |
| Type | function |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeTexture.h |
| Include Path | #include "DatasmithFacadeTexture.h" |
| Source | /Engine/Source/Developer/Datasmith/DatasmithFacade/Private/DatasmithFacadeTexture.cpp |
void SetData
(
const uint8 * InData,
uint32 InDataSize,
ETextureFormat InFormat
)
Parameters
| Name | Remarks |
|---|---|
| InData | data to load the texture from |
| InDataSize | size in bytes of the buffer |
| InFormat | texture format(e.g. png or jpeg) |