Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvas
Description
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.
| Name | GetBatchedElements |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasTypes.h |
| Include Path | #include "CanvasTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
FBatchedElements * GetBatchedElements
(
EElementType InElementType,
FBatchedElementParameters * InBatchedElementParameters,
const FTexture * Texture,
ESimpleElementBlendMode BlendMode,
const FDepthFieldGlowInfo & GlowInfo,
bool bApplyDPIScale
)
Returns a pointer to a FBatchedElements object.
Parameters
| Name | Remarks |
|---|---|
| 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 |