FCanvasBatchedElementRenderItem::IsMatch

Determine if this is a matching set by comparing texture,blendmode,elementype,transform.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "CanvasTypes.h"

Syntax

bool IsMatch
(
    FBatchedElementParameters * BatchedElementParameters,
    const FTexture * InTexture,
    ESimpleElementBlendMode InBlendMode,
    FCanvas::EElementType InElementType,
    const FCanvas::FTransformEntry & InTransform,
    const FDepthFieldGlowInfo & InGlowInfo
)

Remarks

Determine if this is a matching set by comparing texture,blendmode,elementype,transform. All must match

Returns

true if the parameters match this render item

Parameters

Parameter

Description

BatchedElementParameters

parameters for this batched element

InTexture

texture resource for the item being rendered

InBlendMode

current alpha blend mode

InElementType

type of item being rendered: triangle,line,etc

InTransform

the transform for the item being rendered

InGlowInfo

the depth field glow of the item being rendered

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