FSlateRenderer::GenerateDynamicImageResource

Creates a dynamic image resource

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h

Include

#include "Rendering/SlateRenderer.h"

Syntax

virtual bool GenerateDynamicImageResource
(
    FName ResourceName,
    uint32 Width,
    uint32 Height,
    const TArray< uint8 > & Bytes
)

Remarks

Creates a dynamic image resource

Returns

true if the resource was successfully generated, otherwise false

Parameters

Parameter

Description

ResourceName

The name of the texture resource

Width

The width of the resource

Height

The height of the image

Bytes

The payload for the resource

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