FDebugCanvasDrawer

Custom Slate drawer to render a debug canvas on top of a Slate window

Windows
MacOS
Linux

Inheritance Hierarchy

ICustomSlateElement

FDebugCanvasDrawer

References

Module

Engine

Header

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

Include

#include "Slate/DebugCanvas.h"

Syntax

class FDebugCanvasDrawer : public ICustomSlateElement

Remarks

Custom Slate drawer to render a debug canvas on top of a Slate window

Constructors

Name Description

Public function

FDebugCanvasDrawer()

Destructors

Name Description

Public function

~FDebugCanvasDrawer()

Functions

Name Description

Public function

void

 

BeginRenderingCanvas

(
    const FIntRect& InCanvasRect
)

Sets up the canvas for rendering

Public function

FCanvas *...

 

GetGameThreadDebugCanvas()

Public function

void

 

InitDebugCanvas

(
    FViewportClient* ViewportClien...,
    UWorld* InWorld
)

Creates a new debug canvas and enqueues the previous one for deletion

Public function

void

 

ReleaseResources()

Releases rendering resources

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