Navigation
API > API/Plugins > API/Plugins/Water > API/Plugins/Water/FViewWaterQuadTree
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterMeshSceneProxy.h |
| Include | #include "WaterMeshSceneProxy.h" |
| Source | /Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterMeshSceneProxy.cpp |
FUserDataAndIndirectArgs PrepareGPUQuadTreeForRendering
(
const TArray < const FSceneView * > & Views,
uint32 VisibilityMap,
FMeshElementCollector & Collector,
const FWaterQuadTreeConstants & QuadTreeConstants,
const TArrayView < const EWaterMeshRenderGroupType > & BatchRenderGroups,
FRHICommandListBase & RHICmdList
) const
Remarks
Allocates transient GPU resources to build indirect draw calls for the GPU quadtree and returns parameters needed by the water vertex factory to draw the quadtree.