Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework
The vertex map, but in a GPU buffer. This map basically has a DCC vertex number for every render vertex. So if a cube requires 32 render vertices, there will be 32 ints inside this buffer, and each item in this buffer will in this specific example case contain a value between 0 and 7, as a cube has only 8 vertices.
| Name | FVertexMapBuffer |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModel.h |
| Include Path | #include "MLDeformerModel.h" |
Syntax
class FVertexMapBuffer : public FVertexBufferWithSRV
Inheritance Hierarchy
- FRenderResource → FVertexBuffer → FVertexBufferWithSRV → FVertexMapBuffer
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| VertexMap | TArray< int32 > | The array of integers we want to store on the GPU. | MLDeformerModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const TArray< int32 >& InVertexMap |
Initialize the GPU buffer based on some array with integers. | MLDeformerModel.h |