FStaticMeshVertexBuffers

Windows
MacOS
Linux

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.

References

Module

Engine

Header

Runtime/Engine/Public/StaticMeshResources.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback