COpenGLImplementation.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 #include <ionMath.h>
6 #include <ionGraphics.h>
7 
8 
9 namespace ion
10 {
11  namespace Graphics
12  {
13 
15  {
16 
17  public:
18 
20 
21  void UseReverseDepth(bool const ReverseDepth = true);
22  bool IsReverseDepth();
23 
26 
30 
32 
35 
37 
39 
44 
46 
47  protected:
48 
49  bool ReverseDepth = false;
50 
51  };
52  }
53 }
SharedPointer< IShaderProgram > CreateShaderProgram()
Definition: COpenGLImplementation.cpp:260
std::shared_ptr< T > SharedPointer
Definition: ionSmartPointer.h:22
bool ReverseDepth
Definition: COpenGLImplementation.h:49
EInternalFormatType
Definition: ITexture.h:43
COpenGLImplementation()
Definition: COpenGLImplementation.cpp:139
void PostWindowCreationSetup()
Definition: COpenGLImplementation.cpp:174
SharedPointer< Graphics::IDepthBuffer > CreateDepthBuffer(vec2u const &Size)
Definition: COpenGLImplementation.cpp:282
Alternative to Pipeline State rendering. Represents the context for one or many draw calls...
Definition: IDrawContext.h:34
SharedPointer< ITexture3D > CreateTexture3D(vec3u const &Size, ITexture::EMipMaps const MipMaps, ITexture::EFormatComponents const Components, ITexture::EInternalFormatType const Type)
Definition: COpenGLImplementation.cpp:340
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
void UseReverseDepth(bool const ReverseDepth=true)
Definition: COpenGLImplementation.cpp:142
EMipMaps
Definition: ITexture.h:57
bool IsReverseDepth()
Definition: COpenGLImplementation.cpp:160
SharedPointer< ITexture2D > CreateTexture2D(vec2u const &Size, ITexture::EMipMaps const MipMaps, ITexture::EFormatComponents const Components, ITexture::EInternalFormatType const Type)
Definition: COpenGLImplementation.cpp:293
SharedPointer< ITextureCubeMap > CreateTextureCubeMap(vec2u const &Size, ITexture::EMipMaps const MipMaps, ITexture::EFormatComponents const Components, ITexture::EInternalFormatType const Type)
Definition: COpenGLImplementation.cpp:432
SharedPointer< IGeometryShader > CreateGeometryShaderFromSource(string const &Source)
Definition: COpenGLImplementation.cpp:220
Definition: CWindow.h:17
SharedPointer< IIndexBuffer > CreateIndexBuffer()
Definition: COpenGLImplementation.cpp:275
SharedPointer< IPixelShader > CreatePixelShaderFromSource(string const &Source)
Definition: COpenGLImplementation.cpp:240
SharedPointer< IVertexBuffer > CreateVertexBuffer()
Definition: COpenGLImplementation.cpp:268
EFormatComponents
Definition: ITexture.h:35
Lightweight wrapper for std::type_info that enables sorting (e.g. for use in a std::map) ...
Definition: ionClass.h:180
Graphics::IDrawContext * CreateDrawContext()
Definition: COpenGLImplementation.cpp:288
SharedPointer< IGraphicsContext > GetWindowContext(CWindow *Window)
Definition: COpenGLImplementation.cpp:479
void PreWindowCreationSetup()
Definition: COpenGLImplementation.cpp:165
SharedPointer< ITexture2DArray > CreateTexture2DArray(vec3u const &Size, ITexture::EMipMaps const MipMaps, ITexture::EFormatComponents const Components, ITexture::EInternalFormatType const Type)
Definition: COpenGLImplementation.cpp:386
Definition: COpenGLImplementation.h:14
Definition: CGraphicsAPI.h:23
SharedPointer< IVertexShader > CreateVertexShaderFromSource(string const &Source)
Definition: COpenGLImplementation.cpp:200