OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | List of all members
BspRenderer Struct Reference

#include <BspRenderer.h>

Public Member Functions

void Clear ()
 
void Render ()
 

Public Attributes

unsigned int num_faces = 0
 
std::array< BspFace, 1500 > faces = { {} }
 
unsigned int num_nodes = 0
 
std::array< BspRenderer_ViewportNode, 150 > nodes = { {} }
 
unsigned int uNumVisibleNotEmptySectors = 0
 
std::array< int, 150 > pVisibleSectorIDs_toDrawDecorsActorsEtcFrom = { {} }
 

Private Member Functions

void AddFace (const int node_id, const int uFaceID)
 
void AddNode ()
 
void AddBSPFaces (const int node_id, const int bspNodeId)
 
void AddSector (int sectorId)
 

Member Function Documentation

◆ AddBSPFaces()

void BspRenderer::AddBSPFaces ( const int  node_id,
const int  bspNodeId 
)
private

◆ AddFace()

void BspRenderer::AddFace ( const int  node_id,
const int  uFaceID 
)
private

◆ AddNode()

void BspRenderer::AddNode ( )
private

◆ AddSector()

void BspRenderer::AddSector ( int  sectorId)
private

◆ Clear()

void BspRenderer::Clear ( )

◆ Render()

void BspRenderer::Render ( )

Member Data Documentation

◆ faces

std::array<BspFace, 1500> BspRenderer::faces = { {} }

◆ nodes

std::array<BspRenderer_ViewportNode, 150> BspRenderer::nodes = { {} }

◆ num_faces

unsigned int BspRenderer::num_faces = 0

◆ num_nodes

unsigned int BspRenderer::num_nodes = 0

◆ pVisibleSectorIDs_toDrawDecorsActorsEtcFrom

std::array<int, 150> BspRenderer::pVisibleSectorIDs_toDrawDecorsActorsEtcFrom = { {} }

◆ uNumVisibleNotEmptySectors

unsigned int BspRenderer::uNumVisibleNotEmptySectors = 0

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