FCanvasTileRendererItem

Info needed to render a single FTileRenderer

Windows
MacOS
Linux

Inheritance Hierarchy

FCanvasBaseRenderItem

FCanvasTileRendererItem

Syntax

class FCanvasTileRendererItem : public FCanvasBaseRenderItem

Remarks

Info needed to render a single FTileRenderer

Constructors

Name Description

Public function

FCanvasTileRendererItem

(
    ERHIFeatureLevel::Type InFeatureLev...,
    const FMaterialRenderProxy* In...,
    const FCanvas::FTransformEntry& In...,
    bool bInFreezeTime
)

This data is deleted after rendering has completed

Destructors

Name Description

Public function Virtual

~FCanvasTileRendererItem()

Destructor to delete data in case nothing rendered

Functions

Name Description

Public function

FORCEINLINEi...

 

AddTile

(
    float X,
    float Y,
    float SizeX,
    float SizeY,
    float U,
    float V,
    float SizeU,
    float SizeV,
    FHitProxyId HitProxyId,
    FColor InColor
)

Add a new tile to the render data. These tiles all use the same transform and material proxy

Public function

bool

 

IsMatch

(
    const FMaterialRenderProxy* In...,
    const FCanvas::FTransformEntry& In...
)

Determine if this is a matching set by comparing material,transform. All must match

Overridden from FCanvasBaseRenderItem

Name Description

Public function Virtual

FCanvasTileR...

 

GetCanvasTileRendererItem()

FCanvasTileRendererItem instance accessor

Public function Virtual

bool

 

Render_GameThread

(
    const FCanvas* Canvas,
    FRenderThreadScope& RenderScope
)

Renders the canvas item.

Public function Virtual

bool

 

Render_RenderThread

(
    FRHICommandListImmediate& RHICmdLi...,
    FMeshPassProcessorRenderState& Dra...,
    const FCanvas* Canvas
)

Renders the canvas item.

Typedefs

Name

Description

FTileInst

References

Module

Engine

Header

Runtime/Engine/Public/CanvasTypes.h

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