Public Member Functions | Protected Attributes | Friends | List of all members
ion::CGraphicsAPI Class Reference

#include <CGraphicsAPI.h>

Inheritance diagram for ion::CGraphicsAPI:
Inheritance graph
[legend]
Collaboration diagram for ion::CGraphicsAPI:
Collaboration graph
[legend]

Public Member Functions

void Init (IGraphicsImplementation *Implementation)
 
void PreWindowCreationSetup ()
 
void PostWindowCreationSetup ()
 
SharedPointer< Graphics::IVertexStageCreateVertexStageFromFile (string const &FileName)
 
SharedPointer< Graphics::IGeometryStageCreateGeometryStageFromFile (string const &FileName)
 
SharedPointer< Graphics::IPixelStageCreatePixelStageFromFile (string const &FileName)
 
SharedPointer< Graphics::IVertexStageCreateVertexStageFromSource (string const &Source)
 
SharedPointer< Graphics::IGeometryStageCreateGeometryStageFromSource (string const &Source)
 
SharedPointer< Graphics::IPixelStageCreatePixelStageFromSource (string const &Source)
 
SharedPointer< Graphics::IShaderCreateShaderProgram ()
 
SharedPointer< Graphics::IVertexBufferCreateVertexBuffer ()
 
SharedPointer< Graphics::IIndexBufferCreateIndexBuffer ()
 
SharedPointer< Graphics::IDepthBufferCreateDepthBuffer (vec2i const &Size)
 
Graphics::IDrawContextCreateDrawContext ()
 
SharedPointer< Graphics::ITexture2DCreateTexture2D (vec2i const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITexture2DCreateTexture2D (CImage *Image, Graphics::ITexture::EMipMaps const MipMaps=Graphics::ITexture::EMipMaps::True)
 
SharedPointer< Graphics::ITexture3DCreateTexture3D (vec3i const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITexture2DArrayCreateTexture2DArray (vec3i const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITextureCubeMapCreateTextureCubeMap (vec2i const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITextureCubeMapCreateTextureCubeMap (vector< CImage * > const &Images, Graphics::ITexture::EMipMaps const MipMaps=Graphics::ITexture::EMipMaps::True)
 
SharedPointer< Graphics::IGraphicsContextGetWindowContext (CWindow *Window)
 

Protected Attributes

IGraphicsImplementationImplementation = nullptr
 

Friends

class Singleton< CGraphicsAPI >
 

Additional Inherited Members

- Static Public Member Functions inherited from ion::Singleton< Implementation >
static Implementation & Get ()
 
static Implementation * GetPointer ()
 
- Protected Member Functions inherited from ion::Singleton< Implementation >
 Singleton ()
 

Member Function Documentation

SharedPointer< Graphics::IDepthBuffer > ion::CGraphicsAPI::CreateDepthBuffer ( vec2i const &  Size)
Graphics::IDrawContext * ion::CGraphicsAPI::CreateDrawContext ( )
SharedPointer< Graphics::IGeometryStage > ion::CGraphicsAPI::CreateGeometryStageFromFile ( string const &  FileName)
SharedPointer< Graphics::IGeometryStage > ion::CGraphicsAPI::CreateGeometryStageFromSource ( string const &  Source)
SharedPointer< Graphics::IIndexBuffer > ion::CGraphicsAPI::CreateIndexBuffer ( )
SharedPointer< Graphics::IPixelStage > ion::CGraphicsAPI::CreatePixelStageFromFile ( string const &  FileName)
SharedPointer< Graphics::IPixelStage > ion::CGraphicsAPI::CreatePixelStageFromSource ( string const &  Source)
SharedPointer< Graphics::IShader > ion::CGraphicsAPI::CreateShaderProgram ( )
SharedPointer< Graphics::ITexture2D > ion::CGraphicsAPI::CreateTexture2D ( vec2i const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITexture2D > ion::CGraphicsAPI::CreateTexture2D ( CImage Image,
Graphics::ITexture::EMipMaps const  MipMaps = Graphics::ITexture::EMipMaps::True 
)
SharedPointer< Graphics::ITexture2DArray > ion::CGraphicsAPI::CreateTexture2DArray ( vec3i const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITexture3D > ion::CGraphicsAPI::CreateTexture3D ( vec3i const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITextureCubeMap > ion::CGraphicsAPI::CreateTextureCubeMap ( vec2i const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITextureCubeMap > ion::CGraphicsAPI::CreateTextureCubeMap ( vector< CImage * > const &  Images,
Graphics::ITexture::EMipMaps const  MipMaps = Graphics::ITexture::EMipMaps::True 
)
SharedPointer< Graphics::IVertexBuffer > ion::CGraphicsAPI::CreateVertexBuffer ( )
SharedPointer< Graphics::IVertexStage > ion::CGraphicsAPI::CreateVertexStageFromFile ( string const &  FileName)
SharedPointer< Graphics::IVertexStage > ion::CGraphicsAPI::CreateVertexStageFromSource ( string const &  Source)
SharedPointer< Graphics::IGraphicsContext > ion::CGraphicsAPI::GetWindowContext ( CWindow Window)
void ion::CGraphicsAPI::Init ( IGraphicsImplementation Implementation)
void ion::CGraphicsAPI::PostWindowCreationSetup ( )
void ion::CGraphicsAPI::PreWindowCreationSetup ( )

Friends And Related Function Documentation

friend class Singleton< CGraphicsAPI >
friend

Member Data Documentation

IGraphicsImplementation* ion::CGraphicsAPI::Implementation = nullptr
protected

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