Rise
The Vieneo Province
Loading...
Searching...
No Matches
renderer Class Reference

#include <renderer.h>

Collaboration diagram for renderer:
[legend]

Public Member Functions

 renderer (Viewscreen *ptr)
void LoadTextures (Rendering::RenderDevice *pd3dDevice, short *stage, short *instage)
void RenderDocks (Rendering::RenderDevice *pd3dDevice, const RiseMath::Vector3 *Xsunlight)
void RenderShips (Rendering::RenderDevice *pd3dDevice, const RiseMath::Vector3 *Xsunlight, ThrustConeRender::Pass pass=ThrustConeRender::Pass::All, bool attenuateThrust=false)
void RenderLights (Rendering::RenderDevice *pd3dDevice, const double *fTime)
void PrepareShipSurfaceLights ()
void SetSceneShipLights (const GeometryBounds &bounds, const RiseMath::Matrix &world)
void ClearSceneShipLights ()

Private Attributes

Viewscreen * viewscreen
Logger * logger
ShipSurfaceLights::Frame surfaceLights
uint32_t sceneLightMask = UINT32_MAX
char msg [199]
RiseMath::Color tempcolor
Rendering::Light templight
short s
short r
short t
HRESULT hr

Static Private Attributes

static short count
static float timepassed = 0.0f

Detailed Description

Definition at line 22 of file renderer.h.

Constructor & Destructor Documentation

◆ renderer()

renderer::renderer ( Viewscreen * ptr)

Definition at line 21 of file renderer.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ ClearSceneShipLights()

void renderer::ClearSceneShipLights ( )

Definition at line 2879 of file renderer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadTextures()

void renderer::LoadTextures ( Rendering::RenderDevice * pd3dDevice,
short * stage,
short * instage )

Definition at line 27 of file renderer.cpp.

Here is the caller graph for this function:

◆ PrepareShipSurfaceLights()

void renderer::PrepareShipSurfaceLights ( )

Definition at line 2851 of file renderer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RenderDocks()

void renderer::RenderDocks ( Rendering::RenderDevice * pd3dDevice,
const RiseMath::Vector3 * Xsunlight )

Definition at line 2721 of file renderer.cpp.

Here is the caller graph for this function:

◆ RenderLights()

void renderer::RenderLights ( Rendering::RenderDevice * pd3dDevice,
const double * fTime )

Definition at line 3166 of file renderer.cpp.

Here is the caller graph for this function:

◆ RenderShips()

void renderer::RenderShips ( Rendering::RenderDevice * pd3dDevice,
const RiseMath::Vector3 * Xsunlight,
ThrustConeRender::Pass pass = ThrustConeRender::Pass::All,
bool attenuateThrust = false )

Definition at line 2886 of file renderer.cpp.

Here is the caller graph for this function:

◆ SetSceneShipLights()

void renderer::SetSceneShipLights ( const GeometryBounds & bounds,
const RiseMath::Matrix & world )

Definition at line 2864 of file renderer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ count

short renderer::count
staticprivate

Definition at line 47 of file renderer.h.

◆ hr

HRESULT renderer::hr
private

Definition at line 51 of file renderer.h.

◆ logger

Logger* renderer::logger
private

Definition at line 38 of file renderer.h.

◆ msg

char renderer::msg[199]
private

Definition at line 42 of file renderer.h.

◆ r

short renderer::r
private

Definition at line 45 of file renderer.h.

◆ s

short renderer::s
private

Definition at line 45 of file renderer.h.

◆ sceneLightMask

uint32_t renderer::sceneLightMask = UINT32_MAX
private

Definition at line 40 of file renderer.h.

◆ surfaceLights

ShipSurfaceLights::Frame renderer::surfaceLights
private

Definition at line 39 of file renderer.h.

◆ t

short renderer::t
private

Definition at line 45 of file renderer.h.

◆ tempcolor

RiseMath::Color renderer::tempcolor
private

Definition at line 43 of file renderer.h.

◆ templight

Rendering::Light renderer::templight
private

Definition at line 44 of file renderer.h.

◆ timepassed

float renderer::timepassed = 0.0f
staticprivate

Definition at line 48 of file renderer.h.

◆ viewscreen

Viewscreen* renderer::viewscreen
private

Definition at line 37 of file renderer.h.


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