Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering > API/Runtime/Engine/Rendering/FStaticMeshVertexBuffer > API/Runtime/Engine/Rendering/FStaticMeshVertexBuffer/Init
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
&40;
const FStaticMeshVertexBuffer & InVertexBuffer,
bool bNeedsCPUAccess
&41;
Remarks
Initializes this vertex buffer with the contents of the given vertex buffer. Initializes this vertex buffer with the contents of the given vertex buffer.
Parameters
| Name | Description |
|---|---|
| InVertexBuffer | The vertex buffer to initialize from. |
| bNeedsCPUAccess | Whether the vertex data needs to be accessed by the CPU after creation (default true) |
| InVertexBuffer | The vertex buffer to initialize from. |