KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::RHI_RUN_TABLE Struct Reference

Runs of each array a layer range draws from, indexed by element / RHI_CULL_RUN_LENGTH. More...

#include <rhi_cull_runs.h>

Public Member Functions

const std::vector< RHI_RUN_BOUNDS > & Of (RHI_SHAPE aShape, bool aNegatives) const
 

Public Attributes

std::array< std::vector< RHI_RUN_BOUNDS >, RHI_SHAPES > runs
 By RHI_SHAPE.
 
std::array< std::vector< RHI_RUN_BOUNDS >, RHI_SHAPES > negRuns
 

Detailed Description

Runs of each array a layer range draws from, indexed by element / RHI_CULL_RUN_LENGTH.

Negatives have their own entries for a range that keeps them in separate buffers.

Definition at line 85 of file rhi_cull_runs.h.

Member Function Documentation

◆ Of()

const std::vector< RHI_RUN_BOUNDS > & KIGFX::RHI_RUN_TABLE::Of ( RHI_SHAPE aShape,
bool aNegatives ) const
inline

Definition at line 93 of file rhi_cull_runs.h.

References negRuns, and runs.

Member Data Documentation

◆ negRuns

std::array<std::vector<RHI_RUN_BOUNDS>, RHI_SHAPES> KIGFX::RHI_RUN_TABLE::negRuns

Definition at line 91 of file rhi_cull_runs.h.

Referenced by Of(), and KIGFX::RhiRangeReaches().

◆ runs

std::array<std::vector<RHI_RUN_BOUNDS>, RHI_SHAPES> KIGFX::RHI_RUN_TABLE::runs

By RHI_SHAPE.

Polygon runs are of RHI_CULL_VERTEX_RUN_LENGTH vertices.

Definition at line 90 of file rhi_cull_runs.h.

Referenced by Of(), and KIGFX::RhiRangeReaches().


The documentation for this struct was generated from the following file: