TWaterVertexFactory

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexFactory

TWaterVertexFactory

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterVertexFactory.h

Include

#include "WaterVertexFactory.h"

Syntax

template<bool bWithWaterSelectionSupport>
class TWaterVertexFactory : public FVertexFactory

Variables

Constructors

Name Description

Public function

TWaterVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...,
    int32 InNumQuadsPerSide,
    float InLODScale,
    FVector2D InMorphOrigin
)

Destructors

Name Description

Public function

~TWaterVertexFactory()

Functions

Name Description

Public function Const

const FUnifo...

 

GetWaterVertexFactoryUniformBuffer

(
    EWaterMeshRenderGroupType InRenderG...
)

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryShaderPermutati...,
    FShaderCompilerEnvironment& OutEnv...
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FVertexFactoryShaderPermutati...
)

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

Public function

FVertexFacto...

 

StaticType

(
    TEXT("TWaterVertexFactory    TEXT("/Plugin/Water/Private/WaterMe...,
    true,
    false,
    true,
    true,
    false,
    false,
    true,
    &ConstructVertexFactoryParameters< ...,
    &GetVertexFactoryParametersLayout< ...,
    &GetVertexFactoryParametersElementS...,
    TWaterVertexFactory< false >::Shoul...,
    TWaterVertexFactory< false >::Modif...,
    TWaterVertexFactory< false >::Valid...,
    TWaterVertexFactory< false >::Suppo...
)

Public function Static

void

 

ValidateCompiledResult

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const FShaderParameterMap& Paramet...,
    TArray< FString >& OutErrors
)

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Public function Virtual Const

FVertexFacto...

 

GetType()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Constructs render resources for this vertex factory.

Public function Virtual

void

 

ReleaseRHI()

Release render resources for this vertex factory.

Typedefs

Name

Description

Super

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss