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

#include <CGraphicsContext.h>

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

Public Member Functions

 CGraphicsContext (CWindow *Window)
 
SharedPointer< IRenderTargetGetBackBuffer ()
 
SharedPointer< IFrameBufferCreateFrameBuffer ()
 
SharedPointer< IPipelineStateCreatePipelineState ()
 
void Draw (SharedPointer< IPipelineState > State)
 
void DrawInstanced (SharedPointer< IPipelineState > State, uint const InstanceCount)
 

Public Attributes

CWindowWindow = nullptr
 

Protected Member Functions

void InternalBindUniform (uint const Handle, SharedPointer< IUniform const > const Uniform)
 
void InternalDrawSetup (SharedPointer< IPipelineState > State)
 
void InternalDrawTeardown (SharedPointer< IPipelineState > State)
 

Constructor & Destructor Documentation

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

Member Function Documentation

SharedPointer< IFrameBuffer > ion::Graphics::GL::CGraphicsContext::CreateFrameBuffer ( )
virtual
SharedPointer< IPipelineState > ion::Graphics::GL::CGraphicsContext::CreatePipelineState ( )
virtual
void ion::Graphics::GL::CGraphicsContext::Draw ( SharedPointer< IPipelineState State)
virtual
void ion::Graphics::GL::CGraphicsContext::DrawInstanced ( SharedPointer< IPipelineState State,
uint const  InstanceCount 
)
virtual
SharedPointer< IRenderTarget > ion::Graphics::GL::CGraphicsContext::GetBackBuffer ( )
virtual
void ion::Graphics::GL::CGraphicsContext::InternalBindUniform ( uint const  Handle,
SharedPointer< IUniform const > const  Uniform 
)
protected
void ion::Graphics::GL::CGraphicsContext::InternalDrawSetup ( SharedPointer< IPipelineState State)
protected
void ion::Graphics::GL::CGraphicsContext::InternalDrawTeardown ( SharedPointer< IPipelineState State)
protected

Member Data Documentation

CWindow* ion::Graphics::GL::CGraphicsContext::Window = nullptr

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