FSlateTexture2DRHIRef::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

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h

Include

#include "Slate/SlateTextures.h"

Source

/Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp

Syntax

virtual 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