Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FColorVertexBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
uint32 InNumVertices, |
Rendering/ColorVertexBuffer.h | ||
void Init
(
const TArray< FStaticMeshBuildVertex >& InVertices, |
Initializes the buffer with the given vertices, used to convert legacy layouts. | Rendering/ColorVertexBuffer.h | |
void Init
(
const FConstMeshBuildVertexView& InVertices, |
Rendering/ColorVertexBuffer.h | ||
void Init
(
const FColorVertexBuffer& InVertexBuffer, |
Initializes this vertex buffer with the contents of the given vertex buffer. | Rendering/ColorVertexBuffer.h |
Init(uint32, bool)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
| Include Path | #include "Rendering/ColorVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/ColorVertexBuffer.cpp |
void Init
(
uint32 InNumVertices,
bool bNeedsCPUAccess
)
Init(const TArray< FStaticMeshBuildVertex > &, bool)
Description
Initializes the buffer with the given vertices, used to convert legacy layouts.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
| Include Path | #include "Rendering/ColorVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/ColorVertexBuffer.cpp |
void Init
(
const TArray < FStaticMeshBuildVertex > & InVertices,
bool bNeedsCPUAccess
)
Parameters
| Name | Remarks |
|---|---|
| InVertices | The vertices to initialize the buffer with. |
Init(const FConstMeshBuildVertexView &, bool)
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
| Include Path | #include "Rendering/ColorVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/ColorVertexBuffer.cpp |
void Init
(
const FConstMeshBuildVertexView & InVertices,
bool bNeedsCPUAccess
)
Init(const FColorVertexBuffer &, bool)
Description
Initializes this vertex buffer with the contents of the given vertex buffer.
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
| Include Path | #include "Rendering/ColorVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/ColorVertexBuffer.cpp |
void Init
(
const FColorVertexBuffer & InVertexBuffer,
bool bNeedsCPUAccess
)
Parameters
| Name | Remarks |
|---|---|
| InVertexBuffer | The vertex buffer to initialize from. |