FColorVertexBuffer::InitFromColorArray

Load from a array of colors Load from raw color array

Windows
MacOS
Linux

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

Syntax

void InitFromColorArray
(
    const FColor * InColors,
    uint32 Count,
    uint32 Stride,
    bool bNeedsCPUAccess
)

Remarks

Load from a array of colors Load from raw color array

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss