engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FCanvasBatchedElementRenderItem类 参考

Info needed to render a batched element set 更多...

#include <CanvasTypes.h>

+ 类 FCanvasBatchedElementRenderItem 继承关系图:

Public 成员函数

 FCanvasBatchedElementRenderItem (FBatchedElementParameters *InBatchedElementParameters=NULL, const FTexture *InTexture=NULL, ESimpleElementBlendMode InBlendMode=SE_BLEND_MAX, FCanvas::EElementType InElementType=FCanvas::ET_MAX, const FCanvas::FTransformEntry &InTransform=FCanvas::FTransformEntry(FMatrix::Identity), const FDepthFieldGlowInfo &InGlowInfo=FDepthFieldGlowInfo())
 Init constructor
 
FORCEINLINE FBatchedElements * GetBatchedElements ()
 Accessor for the batched elements. 更多...
 
virtual class FCanvasBatchedElementRenderItem * GetCanvasBatchedElementRenderItem () override
 FCanvasBatchedElementRenderItem instance accessor 更多...
 
bool IsMatch (FBatchedElementParameters *BatchedElementParameters, const FTexture *InTexture, ESimpleElementBlendMode InBlendMode, FCanvas::EElementType InElementType, const FCanvas::FTransformEntry &InTransform, const FDepthFieldGlowInfo &InGlowInfo)
 Determine if this is a matching set by comparing texture,blendmode,elementype,transform. 更多...
 
virtual bool Render_GameThread (const FCanvas *Canvas, FRenderThreadScope &RenderScope) override
 Renders the canvas item. 更多...
 
virtual bool Render_RenderThread (FRHICommandListImmediate &RHICmdList, FMeshPassProcessorRenderState &DrawRenderState, const FCanvas *Canvas) override
 Renders the canvas item. 更多...
 
virtual ~FCanvasBatchedElementRenderItem ()
 Destructor to delete data in case nothing rendered
 
- Public 成员函数 继承自 FCanvasBaseRenderItem
virtual class FCanvasBatchedElementRenderItem * GetCanvasBatchedElementRenderItem ()
 FCanvasBatchedElementRenderItem instance accessor 更多...
 
virtual class FCanvasTileRendererItem * GetCanvasTileRendererItem ()
 FCanvasTileRendererItem instance accessor 更多...
 
virtual class FCanvasTriangleRendererItem * GetCanvasTriangleRendererItem ()
 FCanvasTriangleRendererItem instance accessor 更多...
 
virtual bool Render_GameThread (const FCanvas *Canvas, FRenderThreadScope &RenderScope)=0
 Renders the canvas item 更多...
 
virtual bool Render_RenderThread (FRHICommandListImmediate &RHICmdList, FMeshPassProcessorRenderState &DrawRenderState, const FCanvas *Canvas)=0
 Renders the canvas item 更多...
 

详细描述

Info needed to render a batched element set

成员函数说明

◆ GetBatchedElements()

FORCEINLINE FBatchedElements * FCanvasBatchedElementRenderItem::GetBatchedElements ( )
inline

Accessor for the batched elements.

This can be used for adding triangles and primitives to the batched elements

返回
pointer to batched elements struct

◆ GetCanvasBatchedElementRenderItem()

virtual class FCanvasBatchedElementRenderItem * FCanvasBatchedElementRenderItem::GetCanvasBatchedElementRenderItem ( )
inlineoverridevirtual

FCanvasBatchedElementRenderItem instance accessor

返回
this instance

重载 FCanvasBaseRenderItem .

◆ IsMatch()

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

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

All must match

参数
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
返回
true if the parameters match this render item

◆ Render_GameThread()

virtual bool FCanvasBatchedElementRenderItem::Render_GameThread ( const FCanvas *  Canvas,
FRenderThreadScope &  RenderScope 
)
overridevirtual

Renders the canvas item.

Iterates over all batched elements and draws them with their own transforms

参数
Canvas- canvas currently being rendered
返回
true if anything rendered

实现了 FCanvasBaseRenderItem.

◆ Render_RenderThread()

virtual bool FCanvasBatchedElementRenderItem::Render_RenderThread ( FRHICommandListImmediate &  RHICmdList,
FMeshPassProcessorRenderState &  DrawRenderState,
const FCanvas *  Canvas 
)
overridevirtual

Renders the canvas item.

Iterates over all batched elements and draws them with their own transforms

参数
Canvas- canvas currently being rendered
RHICmdList- command list to use
返回
true if anything rendered

实现了 FCanvasBaseRenderItem.


该类的文档由以下文件生成: