# How do you implement Vertex Factories

**URL:** <https://forums.unrealengine.com/t/how-do-you-implement-vertex-factories/257074>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [October 22, 2021, 12:07am UTC](https://forums.unrealengine.com/t/how-do-you-implement-vertex-factories/257074 "2021-10-22T00:07:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clob98](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clob98/32/88710_2.png) [@Clob98](https://forums.unrealengine.com/u/Clob98)\
**Post date:** [October 22, 2021, 12:07am UTC](https://forums.unrealengine.com/t/how-do-you-implement-vertex-factories/257074/1 "2021-10-22T00:07:35Z")

</div>

After digging around in the source code and documentation I’m still at a complete loss of how to setup a vertex factory to pass vertices to a shader.

I’ve tried setting up classes that implement both FRenderResource and FVertexBuffer to create by own vertex factory but I just cant wrap my head around how to actually get these systems to work nicely together.

Is there any resource or documentation I can look up to setup even a basic vertex factory? The best I came across was some blogs from medium which were lacking a lot of detail. Thanks!

---

<div class="post-metadata">

**Author:** ![algorithmicbird](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@algorithmicbird](https://forums.unrealengine.com/u/algorithmicbird)\
**Post date:** [August 26, 2025, 6:31pm UTC](https://forums.unrealengine.com/t/how-do-you-implement-vertex-factories/257074/2 "2025-08-26T18:31:58Z")

</div>

Did you Have any luck?

---

<div class="post-metadata">

**Author:** ![Shmoopy1701](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shmoopy1701/32/1194536_2.png) [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Post date:** [August 26, 2025, 6:55pm UTC](https://forums.unrealengine.com/t/how-do-you-implement-vertex-factories/257074/3 "2025-08-26T18:55:28Z")

</div>

This guy did a 5 part write up on them with links to sample code:

[Creating a Custom Mesh Component in UE4 | Part 0: Intro | by khammassi ayoub | Realities.io | Medium](https://medium.com/@ayoub.khammassi1997/creating-a-custom-mesh-component-in-ue4-part-0-intro-2c762c5f0cd6)
