Navigation
API > API/Runtime > API/Runtime/DatasmithCore
| Name | IDatasmithTextureElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithTextureElement : public IDatasmithElement
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithTextureElement() |
IDatasmithSceneElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetAllowResize() |
Get allow texture resizing | IDatasmithSceneElements.h | |
const uint8 * GetData
(
uint32& OutDataSize, |
Return the optional data, if loading from memory. Must be callable from any thread. | IDatasmithSceneElements.h | |
const TCHAR * GetFile() |
Get texture filename | IDatasmithSceneElements.h | |
| Return a MD5 hash of the content of the Texture Element. | IDatasmithSceneElements.h | ||
float GetRGBCurve() |
Get texture gamma <= 0 for auto | IDatasmithSceneElements.h | |
EDatasmithColorSpace GetSRGB() |
Gets the color space of the texture | IDatasmithSceneElements.h | |
EDatasmithTextureAddress GetTextureAddressX() |
Get texture X axis address mode | IDatasmithSceneElements.h | |
EDatasmithTextureAddress GetTextureAddressY() |
Get texture Y axis address mode | IDatasmithSceneElements.h | |
EDatasmithTextureFilter GetTextureFilter() |
Get texture filter | IDatasmithSceneElements.h | |
EDatasmithTextureMode GetTextureMode() |
Get texture usage | IDatasmithSceneElements.h | |
void SetAllowResize
(
bool bAllowResize |
Set allow texture resizing | IDatasmithSceneElements.h | |
void SetData
(
const uint8* InData, |
Set the output data buffer, used only when no output filename is set | IDatasmithSceneElements.h | |
void SetFile
(
const TCHAR* File |
Set texture filename | IDatasmithSceneElements.h | |
void SetFileHash
(
FMD5Hash Hash |
Set the MD5 hash of the current texture file. This should be a hash of its content. | IDatasmithSceneElements.h | |
void SetRGBCurve
(
const float InRGBCurve |
Set texture gamma <= 0 for auto | IDatasmithSceneElements.h | |
void SetSRGB
(
EDatasmithColorSpace Option |
Sets the color space of the texture | IDatasmithSceneElements.h | |
void SetTextureAddressX
(
EDatasmithTextureAddress Mode |
Set texture X axis address mode | IDatasmithSceneElements.h | |
void SetTextureAddressY
(
EDatasmithTextureAddress Mode |
Set texture Y axis address mode | IDatasmithSceneElements.h | |
void SetTextureFilter
(
EDatasmithTextureFilter Filter |
Set texture filter | IDatasmithSceneElements.h | |
void SetTextureMode
(
EDatasmithTextureMode Mode |
Set texture usage | IDatasmithSceneElements.h |