Navigation
API > API/Runtime > API/Runtime/Landscape
Vertex factory for VTF-heightmap terrain
| Name | FLandscapeVertexFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeRender.h |
| Include Path | #include "LandscapeRender.h" |
Syntax
class FLandscapeVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FLandscapeVertexFactory
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLandscapeVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel |
LandscapeRender.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLandscapeVertexFactory() |
LandscapeRender.h |
Structs
| Name | Remarks |
|---|---|
| FDataType |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | FDataType | Stream component data bound to this vertex factory | LandscapeRender.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Copy
(
const FLandscapeVertexFactory& Other |
Copy the data from another vertex factory | LandscapeRender.h | |
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
LandscapeRender.h | ||
virtual void ReleaseResource() |
LandscapeRender.h | ||
void SetData
(
const FDataType& InData |
An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. | LandscapeRender.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | LandscapeRender.h | |
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs. | LandscapeRender.h | |
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | LandscapeRender.h |