ICustomSlateElement

An interface for a custom slate drawing element Implementers of this interface are expected to handle destroying this interface properly when a separate rendering thread may have access to it.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

ICustomSlateElement

FDebugCanvasDrawer

References

Module

SlateCore

Header

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

Include

#include "Rendering/RenderingCommon.h"

Syntax

class ICustomSlateElement

Remarks

An interface for a custom slate drawing element Implementers of this interface are expected to handle destroying this interface properly when a separate rendering thread may have access to it. (I.E this cannot be destroyed from a different thread if the rendering thread is using it)

Destructors

Name Description

Public function Virtual

~ICustomSlateElement()

Functions

Name Description

Public function

void

 

DrawRenderThread

(
    FRHICommandListImmediate& RHICmdLi...,
    const void* RenderTarget
)

Called from the rendering thread when it is time to render the element