FCanvas::GetBatchedElements

Returns a [FBatchedElements](API\Runtime\Engine\FBatchedElements) pointer to be used for adding vertices and primitives for rendering.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasTypes.h

Include

#include "CanvasTypes.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp

Syntax

FBatchedElements * GetBatchedElements
(
    EElementType InElementType,
    FBatchedElementParameters * InBatchedElementParameters,
    const FTexture * Texture,
    ESimpleElementBlendMode BlendMode,
    const FDepthFieldGlowInfo & GlowInfo,
    bool bApplyDPIScale
)

Remarks

Returns a FBatchedElements pointer to be used for adding vertices and primitives for rendering. Adds a new render item to the sort element entry based on the current sort key.

Returns

Returns a pointer to a FBatchedElements object.

Parameters

Parameter

Description

InElementType

Type of element we are going to draw.

InBatchedElementParameters

Parameters for this element

InTexture

New texture that will be set.

InBlendMode

New blendmode that will be set.

GlowInfo

info for optional glow effect when using depth field rendering

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback