Navigation
API > API/Plugins > API/Plugins/Water
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.
| Name | EWaterVertexFactoryDrawMode |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterVertexFactory.h |
| Include Path | #include "WaterVertexFactory.h" |
Syntax
enum EWaterVertexFactoryDrawMode
{
NonIndirect,
Indirect,
IndirectInstancedStereo,
}
Values
| Name | Remarks |
|---|---|
| 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. |