FSlateUpdatableTexture::UpdateTexture

Updates the texture contents via a byte array.

Choose your operating system:

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.

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