Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateUpdatableTexture
Description
Updates the texture contents via a byte array. Note: This method is not thread safe so make sure you do not use the Bytes data on another after it is passed in
| Name | UpdateTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Textures/SlateUpdatableTexture.h |
| Include Path | #include "Textures/SlateUpdatableTexture.h" |
void UpdateTexture
(
const TArray < uint8 > & Bytes
)
Parameters
| Name | Remarks |
|---|---|
| Bytes | Array of texture data |