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