Navigation
API > API/Plugins > API/Plugins/Water
| Name | TWaterVertexFactory |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterVertexFactory.h |
| Include Path | #include "WaterVertexFactory.h" |
Syntax
template<bool bWithWaterSelectionSupport, EWaterVertexFactoryDrawMode DrawMode>
class TWaterVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → TWaterVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWaterVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
WaterVertexFactory.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TWaterVertexFactory() |
WaterVertexFactory.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FWaterVertexFactoryType | TWaterVertexFactory< bWithWaterSelectionSupport, DrawMode > | WaterVertexFactory.h | |
| Super | FVertexFactory | WaterVertexFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NumAdditionalVertexStreams | int32 | WaterVertexFactory.h | |
| NumRenderGroups | int32 | WaterVertexFactory.h | |
| StaticType | FVertexFactoryType | WaterVertexFactory.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndexBuffer | FWaterMeshIndexBuffer * | WaterVertexFactory.h | ||
| VertexBuffer | FWaterMeshVertexBuffer * | WaterVertexFactory.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LeafSize | const float | WaterVertexFactory.h | ||
| LODScale | const float | WaterVertexFactory.h | ||
| NumDensities | const int32 | WaterVertexFactory.h | ||
| NumQuadsLOD0 | const int32 | WaterVertexFactory.h | ||
| NumQuadsPerSide | const int32 | WaterVertexFactory.h | ||
| UniformBuffers | TStaticArray< FWaterVertexFactoryBufferRef, NumRenderGroups > | WaterVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FUniformBufferRHIRef GetWaterVertexFactoryUniformBuffer
(
EWaterMeshRenderGroupType InRenderGroupType |
WaterVertexFactory.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVertexFactoryType * GetType() |
WaterVertexFactory.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Constructs render resources for this vertex factory. | WaterVertexFactory.h | |
virtual void ReleaseRHI() |
Release render resources for this vertex factory. | WaterVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
WaterVertexFactory.h | ||
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
WaterVertexFactory.h | ||
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shader type on this platform with this vertex factory? | WaterVertexFactory.h | |
static bool UsesIndirectDraws() |
WaterVertexFactory.h | ||
static bool UsesInstancedStereo() |
WaterVertexFactory.h | ||
static void ValidateCompiledResult
(
const FVertexFactoryType* Type, |
WaterVertexFactory.h |