FLandscapeVertexFactory

Vertex factory for VTF-heightmap terrain

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Public/LandscapeRender.h

Include

#include "LandscapeRender.h"

Syntax

class FLandscapeVertexFactory : public FVertexFactory

Remarks

Vertex factory for VTF-heightmap terrain

Variables

Name Description

Public variable

FDataType

 

Data

Stream component data bound to this vertex factory

Constructors

Name Description

Public function

FLandscapeVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Destructors

Name Description

Public function Virtual

~FLandscapeVertexFactory()

Functions

Name Description

Public function Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

Public function

void

 

Copy

(
    const FLandscapeVertexFactory& Oth...
)

Copy the data from another vertex factory

Public function Virtual Const

uint64

 

GetStaticBatchElementVisibility

(
    const FSceneView& InView,
    const FMeshBatch* InBatch,
    const void* InViewCustomData
)

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const FMaterial* Material,
    FShaderCompilerEnvironment& OutEnv...
)

Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs.

Public function

void

 

SetData

(
    const FDataType& InData
)

An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread.

Public function Static

bool

 

ShouldCompilePermutation

(
    EShaderPlatform Platform,
    const FMaterial* Material,
    const FShaderType* ShaderType
)

Should we cache the material's shadertype on this platform with this vertex factory?

Public function Static

bool

 

SupportsTessellationShaders()

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Classes

Name

Description

Public struct

FDataType

Constants

Name

Description

StaticType

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