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

#include <CRenderTarget.h>

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

Public Member Functions

 CRenderTarget (CWindow *Window)
 
void ClearColor ()
 
void ClearDepth ()
 
void ClearColorAndDepth ()
 
void SetClearColor (color4f const &Color)
 
virtual CImageReadImage ()
 
virtual void Bind ()
 
virtual IRenderTargetGetCurrentlyBound ()
 
virtual void SetViewport (vec2i const &Min, vec2i const &Max)
 
virtual void ClearViewport ()
 
- Public Member Functions inherited from ion::Graphics::IRenderTarget
virtual ~IRenderTarget ()
 

Public Attributes

CWindowWindow = nullptr
 
color4f Color
 
vec2i ViewportMin
 
vec2i ViewportMax
 
bool SpecifiedViewport = false
 

Static Public Attributes

static CRenderTargetCurrentlyBound = nullptr
 

Constructor & Destructor Documentation

ion::Graphics::GL::CRenderTarget::CRenderTarget ( CWindow Window)

Member Function Documentation

void ion::Graphics::GL::CRenderTarget::Bind ( )
virtual
void ion::Graphics::GL::CRenderTarget::ClearColor ( )
virtual
void ion::Graphics::GL::CRenderTarget::ClearColorAndDepth ( )
virtual
void ion::Graphics::GL::CRenderTarget::ClearDepth ( )
virtual
void ion::Graphics::GL::CRenderTarget::ClearViewport ( )
virtual
IRenderTarget * ion::Graphics::GL::CRenderTarget::GetCurrentlyBound ( )
virtual
CImage * ion::Graphics::GL::CRenderTarget::ReadImage ( )
virtual
void ion::Graphics::GL::CRenderTarget::SetClearColor ( color4f const &  Color)
virtual
void ion::Graphics::GL::CRenderTarget::SetViewport ( vec2i const &  Min,
vec2i const &  Max 
)
virtual

Member Data Documentation

color4f ion::Graphics::GL::CRenderTarget::Color
CRenderTarget * ion::Graphics::GL::CRenderTarget::CurrentlyBound = nullptr
static
bool ion::Graphics::GL::CRenderTarget::SpecifiedViewport = false
vec2i ion::Graphics::GL::CRenderTarget::ViewportMax
vec2i ion::Graphics::GL::CRenderTarget::ViewportMin
CWindow* ion::Graphics::GL::CRenderTarget::Window = nullptr

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