FSlateUpdatableTexture::UpdateTexture

Updates the texture contents via a byte array.

Windows
MacOS
Linux

Override Hierarchy

FSlateUpdatableTexture::UpdateTexture()

FSlateTexture2DRHIRef::UpdateTexture()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/SlateUpdatableTexture.h

Include

#include "Textures/SlateUpdatableTexture.h"

Syntax

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

Parameters

Parameter

Description

Bytes

Array of texture data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss