Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSlateTexture2DRHIRef
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetTextureData
(
FSlateTextureDataPtr NewTextureData |
Sets the bulk data for this texture. | Slate/SlateTextures.h | |
void SetTextureData
(
const TArray< uint8 >& Bytes |
Slate/SlateTextures.h | ||
void SetTextureData
(
FSlateTextureDataPtr NewTextureData, |
Sets the bulk data for this texture and the format of the rendering resource Note: Does not reinitialize the resource. | Slate/SlateTextures.h |
SetTextureData(FSlateTextureDataPtr)
Description
Sets the bulk data for this texture. Note: Does not reinitialize the resource, Can only be used on the render thread
| Name | SetTextureData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include Path | #include "Slate/SlateTextures.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp |
void SetTextureData
(
FSlateTextureDataPtr NewTextureData
)
Parameters
| Name | Remarks |
|---|---|
| NewTextureData | The new bulk data |
SetTextureData(const TArray< uint8 > &)
| Name | SetTextureData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include Path | #include "Slate/SlateTextures.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp |
void SetTextureData
(
const TArray < uint8 > & Bytes
)
SetTextureData(FSlateTextureDataPtr, EPixelFormat, ETextureCreateFlags)
Description
Sets the bulk data for this texture and the format of the rendering resource Note: Does not reinitialize the resource. Can only be used on the render thread
| Name | SetTextureData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include Path | #include "Slate/SlateTextures.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp |
void SetTextureData
(
FSlateTextureDataPtr NewTextureData,
EPixelFormat InPixelFormat,
ETextureCreateFlags InTexCreateFlags
)
Parameters
| Name | Remarks |
|---|---|
| NewTextureData | The new texture data |
| InPixelFormat | The format of the texture data |
| InTexCreateFlags | Flags for creating the rendering resource |