IGraphicsContext.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 
6 #include "IPipelineState.h"
7 #include "IRenderTarget.h"
8 
9 
10 namespace ion
11 {
12  namespace Graphics
13  {
14 
17  {
18 
19  public:
20 
22 
25 
26  virtual void Draw(SharedPointer<IPipelineState> State) = 0;
27  virtual void DrawInstanced(SharedPointer<IPipelineState> State, uint const InstanceCount) = 0;
28 
29  };
30 
31  }
32 }
virtual SharedPointer< IFrameBuffer > CreateFrameBuffer()=0
virtual SharedPointer< IPipelineState > CreatePipelineState()=0
std::shared_ptr< T > SharedPointer
Definition: ionSmartPointer.h:22
Definition: IGraphicsContext.h:16
virtual void Draw(SharedPointer< IPipelineState > State)=0
unsigned int uint
Definition: ionTypes.h:99
virtual void DrawInstanced(SharedPointer< IPipelineState > State, uint const InstanceCount)=0
virtual SharedPointer< IRenderTarget > GetBackBuffer()=0
Definition: CCatmullRomAdvancedSplineInterpolator.h:7