FLandscapeVertexFactory

Vertex factory for VTF-heightmap terrain

Choose your operating system:

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

void

 

Copy

(
    const FLandscapeVertexFactory& Oth...
)

Copy the data from another vertex factory

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryShaderPermutati...,
    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

(
    const FVertexFactoryShaderPermutati...
)

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

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.

Public function Virtual

void

 

ReleaseResource()

Prepares the resource for deletion. This is only called by the rendering thread.

Classes

Name

Description

Public struct

FDataType

Constants

Name

Description

StaticType