Navigation
API > API/Runtime > API/Runtime/Engine
Primitive draw interface implementation used to store primitives requested to be drawn when gathering dynamic mesh elements.
| Name | FSimpleElementCollector |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include Path | #include "SceneManagement.h" |
Syntax
class FSimpleElementCollector : public FPrimitiveDrawInterface
Inheritance Hierarchy
- FPrimitiveDrawInterface → FSimpleElementCollector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSimpleElementCollector() |
SceneManagement.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSimpleElementCollector() |
SceneManagement.h |
Classes
| Name | Remarks |
|---|---|
| FAllocationInfo |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BatchedElements | FBatchedElements | The batched simple elements. | SceneManagement.h | |
| TopBatchedElements | FBatchedElements | SceneManagement.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DynamicResources | TArray< FDynamicPrimitiveResource *, SceneRenderingAllocator > | The dynamic resources which have been registered with this drawer. | SceneManagement.h | |
| HitProxyId | FHitProxyId | SceneManagement.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAllocationInfo
(
FAllocationInfo& AllocationInfo |
Accumulates allocation info for use calling Reserve. | SceneManagement.h | |
void Append
(
FSimpleElementCollector& Other |
Appends contents of another batched elements into this one and clears the other one. | SceneManagement.h | |
void DrawBatchedElements
(
FRHICommandList& RHICmdList, |
SceneManagement.h | ||
bool HasAnyPrimitives() |
SceneManagement.h | ||
bool HasPrimitives
(
ESceneDepthPriorityGroup DPG |
SceneManagement.h | ||
void Reserve
(
const FAllocationInfo& AllocationInfo |
Reserves memory for all containers. | SceneManagement.h |
Overridden from FPrimitiveDrawInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReserveLines
(
uint8 DepthPriorityGroup, |
SceneManagement.h | ||
virtual void DrawLine
(
const FVector& Start, |
Draw an opaque line. The alpha component of Color is ignored. | SceneManagement.h | |
virtual int32 DrawMesh
(
const FMeshBatch& Mesh |
Not supported. | SceneManagement.h | |
virtual void DrawPoint
(
const FVector& Position, |
SceneManagement.h | ||
virtual void DrawSprite
(
const FVector& Position, |
SceneManagement.h | ||
virtual void DrawTranslucentLine
(
const FVector& Start, |
Draw a translucent line. The alpha component of Color determines the transparency. | SceneManagement.h | |
virtual bool IsHitTesting() |
Not supported. | SceneManagement.h | |
virtual void RegisterDynamicResource
(
FDynamicPrimitiveResource* DynamicResource |
SceneManagement.h | ||
virtual void SetHitProxy
(
HHitProxy* HitProxy |
SceneManagement.h |