Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
Public Member Functions | Private Attributes | List of all members
blowbox::ForwardRenderer Class Reference

#include <forward_renderer.h>

Public Member Functions

 ForwardRenderer ()
 
 ~ForwardRenderer ()
 
void Startup ()
 
void Render ()
 

Private Attributes

Shader vertex_shader_
 
Shader pixel_shader_
 
RootSignature main_root_signature_
 
GraphicsPSO main_pso_
 
DepthBuffer depth_buffer_
 

Detailed Description

Implements a forward rendering technique.

The ForwardRenderer renders the entire scene in a forward style, often it is called the "painters" algorithm, because everything is kept on being overlaid on top of each other.

Constructor & Destructor Documentation

blowbox::ForwardRenderer::ForwardRenderer ( )

Constructs the ForwardRenderer.

blowbox::ForwardRenderer::~ForwardRenderer ( )

Destructs the ForwardRenderer.

Member Function Documentation

void blowbox::ForwardRenderer::Render ( )

Renders the entire scene into the current backbuffer in the SwapChain.

void blowbox::ForwardRenderer::Startup ( )

Starts up the ForwardRenderer.

Member Data Documentation

DepthBuffer blowbox::ForwardRenderer::depth_buffer_
private

The depth buffer that is used to render the scene.

GraphicsPSO blowbox::ForwardRenderer::main_pso_
private

The main PSO that is used for all forward rendering.

RootSignature blowbox::ForwardRenderer::main_root_signature_
private

The main root signature for all forward rendering.

Shader blowbox::ForwardRenderer::pixel_shader_
private

Pixel shader for the forward rendering.

Shader blowbox::ForwardRenderer::vertex_shader_
private

Vertex shader for the forward rendering.


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