Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate > API/Runtime/Engine/Slate/FSlateTexture2DRHIRef
- FSlateUpdatableTexture::UpdateTexture()
- FSlateTexture2DRHIRef::UpdateTexture()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include | #include "Slate/SlateTextures.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp |
virtual void UpdateTexture
(
const TArray < uint8 > & Bytes
)
Remarks
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