Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SilhouetteRenderer Class Reference

#include <SilhouetteRenderer.h>

Collaboration diagram for SilhouetteRenderer:

Classes

struct  DebugBounds
 
struct  DebugRect
 

Public Member Functions

 SilhouetteRenderer ()
 
void AddOccluder (CPatch *patch)
 
void AddOccluder (CModel *model)
 
void AddCaster (CModel *model)
 
void ComputeSubmissions (const CCamera &camera)
 
void RenderSubmitOverlays (SceneCollector &collector)
 
void RenderSubmitOccluders (SceneCollector &collector)
 
void RenderSubmitCasters (SceneCollector &collector)
 
void RenderDebugBounds (Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
 
void RenderDebugOverlays (Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
 
void EndFrame ()
 

Private Attributes

bool m_DebugEnabled
 
std::vector< CPatch * > m_SubmittedPatchOccluders
 
std::vector< CModel * > m_SubmittedModelOccluders
 
std::vector< CModel * > m_SubmittedModelCasters
 
std::vector< CPatch * > m_VisiblePatchOccluders
 
std::vector< CModel * > m_VisibleModelOccluders
 
std::vector< CModel * > m_VisibleModelCasters
 
std::vector< DebugBoundsm_DebugBounds
 
std::vector< DebugRectm_DebugRects
 
std::vector< SOverlaySpherem_DebugSpheres
 
CShaderTechniquePtr m_ShaderTech
 
Renderer::Backend::IVertexInputLayoutm_VertexInputLayout = nullptr
 

Constructor & Destructor Documentation

◆ SilhouetteRenderer()

SilhouetteRenderer::SilhouetteRenderer ( )

Member Function Documentation

◆ AddCaster()

void SilhouetteRenderer::AddCaster ( CModel model)

◆ AddOccluder() [1/2]

void SilhouetteRenderer::AddOccluder ( CModel model)

◆ AddOccluder() [2/2]

void SilhouetteRenderer::AddOccluder ( CPatch patch)

◆ ComputeSubmissions()

void SilhouetteRenderer::ComputeSubmissions ( const CCamera camera)

◆ EndFrame()

void SilhouetteRenderer::EndFrame ( )

◆ RenderDebugBounds()

void SilhouetteRenderer::RenderDebugBounds ( Renderer::Backend::IDeviceCommandContext deviceCommandContext)

◆ RenderDebugOverlays()

void SilhouetteRenderer::RenderDebugOverlays ( Renderer::Backend::IDeviceCommandContext deviceCommandContext)

◆ RenderSubmitCasters()

void SilhouetteRenderer::RenderSubmitCasters ( SceneCollector collector)

◆ RenderSubmitOccluders()

void SilhouetteRenderer::RenderSubmitOccluders ( SceneCollector collector)

◆ RenderSubmitOverlays()

void SilhouetteRenderer::RenderSubmitOverlays ( SceneCollector collector)

Member Data Documentation

◆ m_DebugBounds

std::vector<DebugBounds> SilhouetteRenderer::m_DebugBounds
private

◆ m_DebugEnabled

bool SilhouetteRenderer::m_DebugEnabled
private

◆ m_DebugRects

std::vector<DebugRect> SilhouetteRenderer::m_DebugRects
private

◆ m_DebugSpheres

std::vector<SOverlaySphere> SilhouetteRenderer::m_DebugSpheres
private

◆ m_ShaderTech

CShaderTechniquePtr SilhouetteRenderer::m_ShaderTech
private

◆ m_SubmittedModelCasters

std::vector<CModel*> SilhouetteRenderer::m_SubmittedModelCasters
private

◆ m_SubmittedModelOccluders

std::vector<CModel*> SilhouetteRenderer::m_SubmittedModelOccluders
private

◆ m_SubmittedPatchOccluders

std::vector<CPatch*> SilhouetteRenderer::m_SubmittedPatchOccluders
private

◆ m_VertexInputLayout

Renderer::Backend::IVertexInputLayout* SilhouetteRenderer::m_VertexInputLayout = nullptr
private

◆ m_VisibleModelCasters

std::vector<CModel*> SilhouetteRenderer::m_VisibleModelCasters
private

◆ m_VisibleModelOccluders

std::vector<CModel*> SilhouetteRenderer::m_VisibleModelOccluders
private

◆ m_VisiblePatchOccluders

std::vector<CPatch*> SilhouetteRenderer::m_VisiblePatchOccluders
private

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