FStaticMeshVertexFactories

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "StaticMeshResources.h"

Syntax

struct FStaticMeshVertexFactories

Variables

Name Description

Public variable

FSplineMeshVertexFactory *

 

SplineVertexFactory

Public variable

FSplineMeshVertexFactory *

 

SplineVertexFactoryOverrideColorVertexBuffer

Public variable

FLocalVertexFactory

 

VertexFactory

The vertex factory used when rendering this mesh.

Public variable

FLocalVertexFactory

 

VertexFactoryOverrideColorVertexBuffer

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

Constructors

Name Description

Public function

FStaticMeshVertexFactories

(
    ERHIFeatureLevel::Type InFeatureLevel
)

Destructors

Functions

Name Description

Public function

void

 

InitResources

(
    const FStaticMeshLODResources& LodResources,
    uint32 LODIndex,
    const UStaticMesh* Parent
)

Initializes all rendering resources.

Public function

void

 

InitVertexFactory

(
    const FStaticMeshLODResources& LodResources,
    FLocalVertexFactory& InOutVertexFactory,
    uint32 LODIndex,
    const UStaticMesh* InParentMesh,
    bool bInOverrideColorVertexBuffer
)

Initializes a vertex factory for rendering this static mesh

Public function

void

 

ReleaseResources()

Releases all rendering resources.

Select Skin
Light
Dark

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