Public Member Functions | Public Attributes | List of all members
ion::Graphics::GL::CFrameBuffer Class Reference

#include <CFrameBuffer.h>

Inheritance diagram for ion::Graphics::GL::CFrameBuffer:
Inheritance graph
[legend]
Collaboration diagram for ion::Graphics::GL::CFrameBuffer:
Collaboration graph
[legend]

Public Member Functions

 CFrameBuffer (CWindow *Window)
 
 ~CFrameBuffer ()
 
void AttachColorTexture (SharedPointer< ITexture2D > Texture, uint const Attachment)
 
void AttachDepthTexture (SharedPointer< ITexture2D > Texture)
 
void AttachDepthBuffer (SharedPointer< IDepthBuffer > DepthBuffer)
 
bool CheckCorrectness ()
 
virtual void Bind ()
 
- Public Member Functions inherited from ion::Graphics::IFrameBuffer
virtual ~IFrameBuffer ()
 
- Public Member Functions inherited from ion::Graphics::IRenderTarget
virtual ~IRenderTarget ()
 
- Public Member Functions inherited from ion::Graphics::GL::CRenderTarget
 CRenderTarget (CWindow *Window)
 
void ClearColor ()
 
void ClearDepth ()
 
void ClearColorAndDepth ()
 
void SetClearColor (color4f const &Color)
 
virtual CImageReadImage ()
 
virtual IRenderTargetGetCurrentlyBound ()
 
virtual void SetViewport (vec2i const &Min, vec2i const &Max)
 
virtual void ClearViewport ()
 

Public Attributes

uint Handle = 0
 
vec2i Size
 
- Public Attributes inherited from ion::Graphics::GL::CRenderTarget
CWindowWindow = nullptr
 
color4f Color
 
vec2i ViewportMin
 
vec2i ViewportMax
 
bool SpecifiedViewport = false
 

Additional Inherited Members

- Static Public Attributes inherited from ion::Graphics::GL::CRenderTarget
static CRenderTargetCurrentlyBound = nullptr
 

Constructor & Destructor Documentation

ion::Graphics::GL::CFrameBuffer::CFrameBuffer ( CWindow Window)
ion::Graphics::GL::CFrameBuffer::~CFrameBuffer ( )

Member Function Documentation

void ion::Graphics::GL::CFrameBuffer::AttachColorTexture ( SharedPointer< ITexture2D Texture,
uint const  Attachment 
)
virtual
void ion::Graphics::GL::CFrameBuffer::AttachDepthBuffer ( SharedPointer< IDepthBuffer DepthBuffer)
virtual
void ion::Graphics::GL::CFrameBuffer::AttachDepthTexture ( SharedPointer< ITexture2D Texture)
virtual
void ion::Graphics::GL::CFrameBuffer::Bind ( )
virtual

Reimplemented from ion::Graphics::GL::CRenderTarget.

bool ion::Graphics::GL::CFrameBuffer::CheckCorrectness ( )
virtual

Member Data Documentation

uint ion::Graphics::GL::CFrameBuffer::Handle = 0
vec2i ion::Graphics::GL::CFrameBuffer::Size

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