Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/FBaseDynamicMeshSceneProxy
Description
Filter the triangles in a FMeshRenderBufferSet into the SecondaryIndexBuffer. Requires that RenderBuffers->Triangles has been initialized.
| Name | UpdateSecondaryTriangleBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryFramework/Public/Components/BaseDynamicMeshSceneProxy.h |
| Include Path | #include "Components/BaseDynamicMeshSceneProxy.h" |
void UpdateSecondaryTriangleBuffer
(
FMeshRenderBufferSet * RenderBuffers,
const FDynamicMesh3 * Mesh,
bool bDuplicate
)
Parameters
| Name | Remarks |
|---|---|
| bDuplicate | if set, then primary IndexBuffer is unmodified and SecondaryIndexBuffer contains duplicates. Otherwise triangles are sorted via predicate into either primary or secondary. |