8 #include "VectorMathDecl.h"
23 virtual void ComputeVisibleRanges(
const CullingVolumeTree& cullingVolumeTree,
const dv3& frustumOrigin,
const Geometry::Frustum& frustum, std::vector<IndexBufferRange>& visibleRanges,
float environmentScale);
30 StackEntry(
int cullingVolumeIndex, u32 inactivePlaneFlags)
31 : cullingVolumeIndex(cullingVolumeIndex)
32 , inactivePlaneFlags(inactivePlaneFlags)
35 int cullingVolumeIndex;
36 u32 inactivePlaneFlags;
39 struct InternalIndexBufferRange
41 InternalIndexBufferRange(
int startIndex,
int indexCount)
42 : startIndex(startIndex)
43 , indexCount(indexCount)
52 std::vector<StackEntry> m_stack;
53 std::vector<InternalIndexBufferRange> m_indexBufferRanges;
55 int m_minIndicesForTreeDescent;
57 void ComputeVisibleRangesInTree(
const CullingVolumeTree& cullingVolumeTree,
const dv3& cameraEcefOrigin,
const v4 planes[],
float scale);
59 void BuildMergedRanges(std::vector<IndexBufferRange>& visibleRanges)
const;