FStaticMeshVertexBuffers

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h

Include

#include "StaticMeshResources.h"

Syntax

struct FStaticMeshVertexBuffers

Variables

Name Description

Public variable

FColorVertexBuf...

 

ColorVertexBuffer

The buffer containing the vertex color data.

Public variable

FPositionVertex...

 

PositionVertexBuffer

The buffer containing the position vertex data.

Public variable

FStaticMeshVert...

 

StaticMeshVertexBuffer

The buffer containing vertex data.

Functions

Name Description

Public function

void

 

InitFromDynamicVertex

(
    FLocalVertexFactory* VertexFac...,
    TArray< FDynamicMeshVertex >& Vert...,
    uint32 NumTexCoords,
    uint32 LightMapIndex
)

This is a temporary function to refactor and convert old code, do not copy this as is and try to build your data as SoA from the beginning.

Public function

void

 

InitModelBuffers

(
    TArray< FModelVertex >& Vertices
)

This is a temporary function to refactor and convert old code, do not copy this as is and try to build your data as SoA from the beginning.

Public function

void

 

InitModelVF

(
    FLocalVertexFactory* VertexFac...
)

This is a temporary function to refactor and convert old code, do not copy this as is and try to build your data as SoA from the beginning.

Public function

void

 

InitWithDummyData

(
    FLocalVertexFactory* VertexFac...,
    uint32 NumVerticies,
    uint32 NumTexCoords,
    uint32 LightMapIndex
)

This is a temporary function to refactor and convert old code, do not copy this as is and try to build your data as SoA from the beginning.