Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Rendering > FColorVertexBuffer > InitFromColorArray
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Rendering/ColorVertexBuffer.h |
Include | #include "Rendering/ColorVertexBuffer.h" |
Source | /Engine/Source/Runtime/Engine/Private/Rendering/ColorVertexBuffer.cpp |
void InitFromColorArray
&40;
const FColor &42; InColors,
uint32 Count,
uint32 Stride,
bool bNeedsCPUAccess
&41;
Remarks
Load from a array of colors Load from raw color array
Parameters
Name | Description |
---|---|
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. |