Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
Include |
#include "Slate/SlateTextures.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp |
void SetTextureData
(
FSlateTextureDataPtr NewTextureData,
EPixelFormat InPixelFormat,
ETextureCreateFlags InTexCreateFlags
)
Sets the bulk data for this texture and the format of the rendering resource
Does not reinitialize the resource. Can only be used on the render thread
Parameter |
Description |
---|---|
NewTextureData |
The new texture data |
InPixelFormat |
The format of the texture data |
InTexCreateFlags |
Flags for creating the rendering resource |