Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::Dummy::CFramebuffer Class Reference

#include <Framebuffer.h>

Inheritance diagram for Renderer::Backend::Dummy::CFramebuffer:
Collaboration diagram for Renderer::Backend::Dummy::CFramebuffer:

Public Member Functions

 ~CFramebuffer () override
 
IDeviceGetDevice () override
 
const CColorGetClearColor () const override
 Returns a clear color for all color attachments of the framebuffer. More...
 
uint32_t GetWidth () const override
 
uint32_t GetHeight () const override
 
virtual const CColorGetClearColor () const =0
 Returns a clear color for all color attachments of the framebuffer. More...
 
virtual uint32_t GetWidth () const =0
 
virtual uint32_t GetHeight () const =0
 
- Public Member Functions inherited from Renderer::Backend::IDeviceObject< IFramebuffer >
virtual ~IDeviceObject ()
 
virtual IDeviceGetDevice ()=0
 
TAs ()
 

Private Member Functions

 CFramebuffer ()
 

Static Private Member Functions

static std::unique_ptr< IFramebufferCreate (CDevice *device)
 

Private Attributes

CDevicem_Device = nullptr
 
CColor m_ClearColor
 

Friends

class CDevice
 

Constructor & Destructor Documentation

◆ ~CFramebuffer()

Renderer::Backend::Dummy::CFramebuffer::~CFramebuffer ( )
overridedefault

◆ CFramebuffer()

Renderer::Backend::Dummy::CFramebuffer::CFramebuffer ( )
privatedefault

Member Function Documentation

◆ Create()

std::unique_ptr< IFramebuffer > Renderer::Backend::Dummy::CFramebuffer::Create ( CDevice device)
staticprivate

◆ GetClearColor()

const CColor & Renderer::Backend::Dummy::CFramebuffer::GetClearColor ( ) const
inlineoverridevirtual

Returns a clear color for all color attachments of the framebuffer.

See also
IDevice::CreateFramebuffer()

Implements Renderer::Backend::IFramebuffer.

◆ GetDevice()

IDevice * Renderer::Backend::Dummy::CFramebuffer::GetDevice ( )
overridevirtual

◆ GetHeight()

uint32_t Renderer::Backend::Dummy::CFramebuffer::GetHeight ( ) const
inlineoverridevirtual

◆ GetWidth()

uint32_t Renderer::Backend::Dummy::CFramebuffer::GetWidth ( ) const
inlineoverridevirtual

Friends And Related Function Documentation

◆ CDevice

friend class CDevice
friend

Member Data Documentation

◆ m_ClearColor

CColor Renderer::Backend::Dummy::CFramebuffer::m_ClearColor
private

◆ m_Device

CDevice* Renderer::Backend::Dummy::CFramebuffer::m_Device = nullptr
private

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