Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MeshBatch.h |
Include |
#include "MeshBatch.h" |
struct FMeshBatchElement
A batch mesh element definition.
Name | Description | ||
---|---|---|---|
|
union FMeshBatc... |
@816 |
|
|
BaseVertexIndex |
||
|
uint32: 1 |
bIsInstanceRuns |
|
|
uint32: 1 |
bIsSplineProxy |
|
|
uint32: 1 |
bUserDataIsColorVertexBuffer |
|
|
uint32: 24 |
DynamicPrimitiveShaderDataIndex |
Assigned by renderer |
|
FirstIndex |
||
|
const FIndexBuf... |
IndexBuffer |
|
|
IndirectArgsBuffer |
||
|
IndirectArgsOffset |
||
|
uint32: 4 |
InstancedLODIndex |
|
|
uint32: 4 |
InstancedLODRange |
|
|
uint32 * |
InstanceRuns |
If !bIsSplineProxy, Instance runs, where number of runs is specified by NumInstances. |
|
float |
MaxScreenSize |
|
|
MaxVertexIndex |
||
|
float |
MinScreenSize |
|
|
MinVertexIndex |
||
|
NumInstances |
Number of instances to draw. |
|
|
NumPrimitives |
When 0, IndirectArgsBuffer will be used. |
|
|
PrimitiveIdMode |
Assigned by renderer |
|
|
PrimitiveUniformBuffer |
Primitive uniform buffer RHI Must be null for vertex factories that manually fetch primitive data from scene data, in which case FPrimitiveSceneProxy::UniformBuffer will be used. |
|
|
const TUniformB... |
PrimitiveUniformBufferResource |
Primitive uniform buffer to use for rendering, used when PrimitiveUniformBuffer is null. |
|
FSplineMeshScen... |
SplineMeshSceneProxy |
If bIsSplineProxy, a pointer back to the proxy |
|
const void *... |
UserData |
|
|
UserIndex |
||
|
void * |
VertexFactoryUserData |
Meaning depends on the vertex factory, e.g. FGPUSkinPassthroughVertexFactory: element index in FGPUSkinCache::CachedElements. |
|
int32: 8 |
VisualizeElementIndex |
Conceptual element index used for debug viewmodes. |
Name | Description | |
---|---|---|
|
FMeshBatchElement() |
Name | Description | ||
---|---|---|---|
|
GetNumPrimitives() |