FSlateUpdatableTexture::UpdateTextureThreadSafe

Updates the texture contents via a byte array making a copy first for thread safety

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateUpdatableTexture::UpdateTextureThreadSafe()

FSlateTexture2DRHIRef::UpdateTextureThreadSafe()

References

Module

SlateCore

Header

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

Include

#include "Textures/SlateUpdatableTexture.h"

Syntax

void UpdateTextureThreadSafe
(
    const TArray< uint8 > & Bytes
)

Remarks

Updates the texture contents via a byte array making a copy first for thread safety

Parameters

Parameter

Description

Bytes

Array of texture data