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::IVertexShaderCreateVertexShaderFromFile (string const &FileName)
 
SharedPointer< Graphics::IGeometryShaderCreateGeometryShaderFromFile (string const &FileName)
 
SharedPointer< Graphics::IPixelShaderCreatePixelShaderFromFile (string const &FileName)
 
SharedPointer< Graphics::IVertexShaderCreateVertexShaderFromSource (string const &Source)
 
SharedPointer< Graphics::IGeometryShaderCreateGeometryShaderFromSource (string const &Source)
 
SharedPointer< Graphics::IPixelShaderCreatePixelShaderFromSource (string const &Source)
 
SharedPointer< Graphics::IShaderProgramCreateShaderProgram ()
 
SharedPointer< Graphics::IVertexBufferCreateVertexBuffer ()
 
SharedPointer< Graphics::IIndexBufferCreateIndexBuffer ()
 
SharedPointer< Graphics::IDepthBufferCreateDepthBuffer (vec2u const &Size)
 
Graphics::IDrawContextCreateDrawContext ()
 
SharedPointer< Graphics::ITexture2DCreateTexture2D (vec2u 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 (vec3u const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITexture2DArrayCreateTexture2DArray (vec3u const &Size, Graphics::ITexture::EMipMaps const MipMaps, Graphics::ITexture::EFormatComponents const Components, Graphics::ITexture::EInternalFormatType const Type)
 
SharedPointer< Graphics::ITextureCubeMapCreateTextureCubeMap (vec2u 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 Singleton< CGraphicsAPI >
static CGraphicsAPI & Get ()
 
static CGraphicsAPI * GetPointer ()
 
- Protected Member Functions inherited from Singleton< CGraphicsAPI >
 Singleton ()
 

Member Function Documentation

SharedPointer< Graphics::IDepthBuffer > ion::CGraphicsAPI::CreateDepthBuffer ( vec2u const &  Size)
Graphics::IDrawContext * ion::CGraphicsAPI::CreateDrawContext ( )
SharedPointer< Graphics::IGeometryShader > ion::CGraphicsAPI::CreateGeometryShaderFromFile ( string const &  FileName)
SharedPointer< Graphics::IGeometryShader > ion::CGraphicsAPI::CreateGeometryShaderFromSource ( string const &  Source)
SharedPointer< Graphics::IIndexBuffer > ion::CGraphicsAPI::CreateIndexBuffer ( )
SharedPointer< Graphics::IPixelShader > ion::CGraphicsAPI::CreatePixelShaderFromFile ( string const &  FileName)
SharedPointer< Graphics::IPixelShader > ion::CGraphicsAPI::CreatePixelShaderFromSource ( string const &  Source)
SharedPointer< Graphics::IShaderProgram > ion::CGraphicsAPI::CreateShaderProgram ( )
SharedPointer< Graphics::ITexture2D > ion::CGraphicsAPI::CreateTexture2D ( vec2u 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 ( vec3u const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITexture3D > ion::CGraphicsAPI::CreateTexture3D ( vec3u const &  Size,
Graphics::ITexture::EMipMaps const  MipMaps,
Graphics::ITexture::EFormatComponents const  Components,
Graphics::ITexture::EInternalFormatType const  Type 
)
SharedPointer< Graphics::ITextureCubeMap > ion::CGraphicsAPI::CreateTextureCubeMap ( vec2u 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::IVertexShader > ion::CGraphicsAPI::CreateVertexShaderFromFile ( string const &  FileName)
SharedPointer< Graphics::IVertexShader > ion::CGraphicsAPI::CreateVertexShaderFromSource ( 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: