Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Attributes | List of all members
cqsp::engine::FramebufferRenderer Class Reference

#include <framebuffer.h>

Inheritance diagram for cqsp::engine::FramebufferRenderer:
cqsp::engine::IFramebuffer

Public Member Functions

 FramebufferRenderer ()
 
 ~FramebufferRenderer ()
 
void InitTexture (int width, int height) override
 
void Clear () override
 
void BeginDraw () override
 
void EndDraw () override
 
void RenderBuffer () override
 
void Free () override
 
void NewFrame (const Window &window) override
 
void SetMesh (cqsp::engine::Mesh_t mesh) override
 
cqsp::engine::MeshGetMeshOutput () override
 
void SetShader (cqsp::asset::ShaderProgram_t shader) override
 
void FreeBuffer ()
 
- Public Member Functions inherited from cqsp::engine::IFramebuffer
virtual ~IFramebuffer ()
 

Private Attributes

unsigned int framebuffer
 
unsigned int colorbuffer
 
cqsp::asset::ShaderProgram_t buffer_shader
 
cqsp::engine::Mesh_t mesh_output
 

Constructor & Destructor Documentation

◆ FramebufferRenderer()

cqsp::engine::FramebufferRenderer::FramebufferRenderer ( )
inline

◆ ~FramebufferRenderer()

cqsp::engine::FramebufferRenderer::~FramebufferRenderer ( )

Member Function Documentation

◆ BeginDraw()

void cqsp::engine::FramebufferRenderer::BeginDraw ( )
overridevirtual

◆ Clear()

void cqsp::engine::FramebufferRenderer::Clear ( )
overridevirtual

◆ EndDraw()

void cqsp::engine::FramebufferRenderer::EndDraw ( )
overridevirtual

◆ Free()

void cqsp::engine::FramebufferRenderer::Free ( )
overridevirtual

◆ FreeBuffer()

void cqsp::engine::FramebufferRenderer::FreeBuffer ( )

◆ GetMeshOutput()

cqsp::engine::Mesh & cqsp::engine::FramebufferRenderer::GetMeshOutput ( )
inlineoverridevirtual

◆ InitTexture()

void cqsp::engine::FramebufferRenderer::InitTexture ( int  width,
int  height 
)
overridevirtual

◆ NewFrame()

void cqsp::engine::FramebufferRenderer::NewFrame ( const Window window)
overridevirtual

◆ RenderBuffer()

void cqsp::engine::FramebufferRenderer::RenderBuffer ( )
overridevirtual

◆ SetMesh()

void cqsp::engine::FramebufferRenderer::SetMesh ( cqsp::engine::Mesh_t  mesh)
inlineoverridevirtual

◆ SetShader()

void cqsp::engine::FramebufferRenderer::SetShader ( cqsp::asset::ShaderProgram_t  shader)
inlineoverridevirtual

Member Data Documentation

◆ buffer_shader

cqsp::asset::ShaderProgram_t cqsp::engine::FramebufferRenderer::buffer_shader
private

◆ colorbuffer

unsigned int cqsp::engine::FramebufferRenderer::colorbuffer
private

◆ framebuffer

unsigned int cqsp::engine::FramebufferRenderer::framebuffer
private

◆ mesh_output

cqsp::engine::Mesh_t cqsp::engine::FramebufferRenderer::mesh_output
private

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