Navigation
API > API/Plugins > API/Plugins/Water
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterVertexFactory.h |
| Include | #include "WaterVertexFactory.h" |
Syntax
enum EWaterVertexFactoryDrawMode
{
NonIndirect,
Indirect,
IndirectInstancedStereo,
}
Values
| Name | Description |
|---|---|
| NonIndirect | Non-indirect draw calls for CPU-driven water rendering. |
| Indirect | Indirect draw calls for GPU-driven water rendering using the GPU water quadtree to generate indirect draw calls. |
| IndirectInstancedStereo | Indirect draw calls with support for ISR. Uses manual fetching of instance data in the vertex shader/factory. |
Remarks
Water supports both a CPU-driven (non-indirect draws) and a GPU-driven (indirect draws) path. The regular GPU-driven path does not support ISR out of the box, so there is a special path for indirect draws supporting ISR.