Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FColorVertexBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitFromColorArray
(
const TArray< FColor >& InColors |
Load from raw color array. | Rendering/ColorVertexBuffer.h | |
void InitFromColorArray
(
const FColor* InColors, |
Load from a array of colors Load from raw color array | Rendering/ColorVertexBuffer.h |
InitFromColorArray(const TArray< FColor > &)
Description
Load from raw color array.
| Name | InitFromColorArray |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
| Include Path | #include "Rendering/ColorVertexBuffer.h" |
void InitFromColorArray
(
const TArray < FColor > & InColors
)
Parameters
| Name | Remarks |
|---|---|
| InColors | InColors must not be empty |
InitFromColorArray(const FColor *, uint32, uint32, bool)
Description
Load from a array of colors Load from raw color array
| Name | InitFromColorArray |
| 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 InitFromColorArray
(
const FColor * InColors,
uint32 Count,
uint32 Stride,
bool bNeedsCPUAccess
)
Parameters
| Name | Remarks |
|---|---|
| InColors | must not be 0 |
| Count | must be > 0 |
| Stride | in bytes, usually sizeof(FColor) but can be 0 to use a single input color or larger. |