Navigation
API > API/Plugins > API/Plugins/Water
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
| Type | Name | Description | |
|---|---|---|---|
| FWaterMeshIndexBuffer * | IndexBuffer | ||
| FWaterMeshVertexBuffer * | VertexBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TWaterVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
||
| const FUniformBufferRHIRef | GetWaterVertexFactoryUniformBuffer
(
EWaterMeshRenderGroupType InRenderGroupType |
||
| void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
||
| bool | ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shader type on this platform with this vertex factory? | |
| FVertexFactoryType | StaticType
(
TEXT("TWaterVertexFactory"), |
||
| void | ValidateCompiledResult
(
const FVertexFactoryType* Type, |
Overridden from FVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| FVertexFactoryType * | GetType () |
||
| FVertexFactoryType * | GetType () |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Constructs render resources for this vertex factory. | |
| void | ReleaseRHI () |
Release render resources for this vertex factory. |
Typedefs
| Name | Description |
|---|---|
| Super |
Constants
| Name | Description |
|---|---|
| NumAdditionalVertexStreams | |
| NumRenderGroups | |
| StaticType |