FStaticMeshVertexBuffer::Init

Initializes the buffer with the given vertices.

Windows
MacOS
Linux

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

Syntax

void Init
(
    const TArray< FStaticMeshBuildVertex > & InVertices,
    uint32 InNumTexCoords,
    bool bNeedsCPUAccess
)

Remarks

Initializes the buffer with the given vertices.

Parameters

Parameter

Description

InVertices

The vertices to initialize the buffer with.

InNumTexCoords

The number of texture coordinate to store in the buffer.

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