FStaticMeshVertexFactories

Windows
MacOS
Linux

Syntax

struct FStaticMeshVertexFactories

Variables

Name Description

Public variable

FSplineMeshVert...

 

SplineVertexFactory

Public variable

FSplineMeshVert...

 

SplineVertexFactoryOverrideColorVertexBuffer

Public variable

FLocalVertexFac...

 

VertexFactory

The vertex factory used when rendering this mesh.

Public variable

FLocalVertexFac...

 

VertexFactoryOverrideColorVertexBuffer

The vertex factory used when rendering this mesh with vertex colors. This is lazy init.

Constructors

Name Description

Public function

FStaticMeshVertexFactories

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Destructors

Functions

Name Description

Public function

void

 

InitResources

(
    const FStaticMeshLODResources& Lod...,
    uint32 LODIndex,
    const UStaticMesh* Parent
)

Initializes all rendering resources.

Public function

void

 

InitVertexFactory

(
    const FStaticMeshLODResources& Lod...,
    FLocalVertexFactory& InOutVertexFa...,
    uint32 LODIndex,
    const UStaticMesh* InParentMes...,
    bool bInOverrideColorVertexBuffer
)

Initializes a vertex factory for rendering this static mesh

Public function

void

 

ReleaseResources()

Releases all rendering resources.

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