FSlateTexture2DRHIRef::SetTextureData

Sets the bulk data for this texture.

Choose your operating system:

Windows

macOS

Linux

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

void SetTextureData
(
    FSlateTextureDataPtr NewTextureData
)

Remarks

Sets the bulk data for this texture.

Does not reinitialize the resource, Can only be used on the render thread

Parameters

Parameter

Description

NewTextureData

The new bulk data