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::AAFrameBufferRenderer Class Reference

#include <framebuffer.h>

Inheritance diagram for cqsp::engine::AAFrameBufferRenderer:
cqsp::engine::IFramebuffer

Public Member Functions

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

Private Attributes

int width
 
int height
 
unsigned int framebuffer
 
unsigned int intermediateFBO
 
unsigned int screenTexture
 
unsigned int mscat
 
cqsp::asset::ShaderProgram_t buffer_shader
 
cqsp::engine::Mesh_t mesh_output
 

Constructor & Destructor Documentation

◆ AAFrameBufferRenderer()

cqsp::engine::AAFrameBufferRenderer::AAFrameBufferRenderer ( )
inline

◆ ~AAFrameBufferRenderer()

cqsp::engine::AAFrameBufferRenderer::~AAFrameBufferRenderer ( )

Member Function Documentation

◆ BeginDraw()

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

◆ Clear()

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

◆ EndDraw()

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

◆ Free()

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

◆ FreeBuffer()

void cqsp::engine::AAFrameBufferRenderer::FreeBuffer ( )

◆ GetMeshOutput()

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

◆ InitTexture()

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

◆ NewFrame()

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

◆ RenderBuffer()

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

◆ SetMesh()

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

◆ SetShader()

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

Member Data Documentation

◆ buffer_shader

cqsp::asset::ShaderProgram_t cqsp::engine::AAFrameBufferRenderer::buffer_shader
private

◆ framebuffer

unsigned int cqsp::engine::AAFrameBufferRenderer::framebuffer
private

◆ height

int cqsp::engine::AAFrameBufferRenderer::height
private

◆ intermediateFBO

unsigned int cqsp::engine::AAFrameBufferRenderer::intermediateFBO
private

◆ mesh_output

cqsp::engine::Mesh_t cqsp::engine::AAFrameBufferRenderer::mesh_output
private

◆ mscat

unsigned int cqsp::engine::AAFrameBufferRenderer::mscat
private

◆ screenTexture

unsigned int cqsp::engine::AAFrameBufferRenderer::screenTexture
private

◆ width

int cqsp::engine::AAFrameBufferRenderer::width
private

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