#include <GteBaseEngine.h>
Public Member Functions | |
virtual void | DisplayColorBuffer (unsigned int syncInterval)=0 |
virtual uint64_t | Draw (std::shared_ptr< OverlayEffect > const &effect)=0 |
std::shared_ptr< BlendState > const & | GetBlendState () const |
std::array< float, 4 > const & | GetClearColor () const |
float | GetClearDepth () const |
unsigned int | GetClearStencil () const |
std::shared_ptr< BlendState > const & | GetDefaultBlendState () const |
std::shared_ptr< DepthStencilState > const & | GetDefaultDepthStencilState () const |
std::shared_ptr< Font > const & | GetDefaultFont () const |
std::shared_ptr< RasterizerState > const & | GetDefaultRasterizerState () const |
virtual void | GetDepthRange (float &zmin, float &zmax) const =0 |
std::shared_ptr< DepthStencilState > const & | GetDepthStencilState () const |
std::shared_ptr< Font > const & | GetFont () const |
std::shared_ptr< RasterizerState > const & | GetRasterizerState () const |
virtual void | GetViewport (int &x, int &y, int &w, int &h) const =0 |
virtual bool | Resize (unsigned int w, unsigned int h)=0 |
virtual void | SetBlendState (std::shared_ptr< BlendState > const &state)=0 |
void | SetClearColor (std::array< float, 4 > const &clearColor) |
void | SetClearDepth (float clearDepth) |
void | SetClearStencil (unsigned int clearStencil) |
void | SetDefaultBlendState () |
void | SetDefaultDepthStencilState () |
void | SetDefaultFont () |
void | SetDefaultRasterizerState () |
virtual void | SetDepthRange (float zmin, float zmax)=0 |
virtual void | SetDepthStencilState (std::shared_ptr< DepthStencilState > const &state)=0 |
virtual void | SetFont (std::shared_ptr< Font > const &font) |
virtual void | SetRasterizerState (std::shared_ptr< RasterizerState > const &state)=0 |
virtual void | SetViewport (int x, int y, int w, int h)=0 |
virtual bool | Update (std::shared_ptr< Buffer > const &buffer)=0 |
virtual bool | Update (std::shared_ptr< TextureSingle > const &texture)=0 |
virtual | ~BaseEngine () |
Protected Member Functions | |
BaseEngine () | |
BaseEngine (BaseEngine const &)=delete | |
void | CreateDefaultGlobalState () |
virtual void | DestroyDefaultGlobalState () |
BaseEngine & | operator= (BaseEngine const &)=delete |
Protected Attributes | |
std::shared_ptr< BlendState > | mActiveBlendState |
std::shared_ptr< DepthStencilState > | mActiveDepthStencilState |
std::shared_ptr< Font > | mActiveFont |
std::shared_ptr< RasterizerState > | mActiveRasterizerState |
std::array< float, 4 > | mClearColor |
float | mClearDepth |
unsigned int | mClearStencil |
std::shared_ptr< BlendState > | mDefaultBlendState |
std::shared_ptr< DepthStencilState > | mDefaultDepthStencilState |
std::shared_ptr< Font > | mDefaultFont |
std::shared_ptr< RasterizerState > | mDefaultRasterizerState |
unsigned int | mXSize |
unsigned int | mYSize |
Definition at line 23 of file GteBaseEngine.h.
|
virtual |
Definition at line 12 of file GteBaseEngine.cpp.
|
protected |
Definition at line 16 of file GteBaseEngine.cpp.
|
protecteddelete |
|
protected |
Definition at line 31 of file GteBaseEngine.cpp.
|
protectedvirtual |
Reimplemented in gte::GraphicsEngine.
Definition at line 48 of file GteBaseEngine.cpp.
Implemented in gte::DX11Engine, gte::GLXEngine, and gte::WGLEngine.
|
pure virtual |
Implemented in gte::GraphicsEngine.
|
inline |
Definition at line 161 of file GteBaseEngine.h.
|
inline |
Definition at line 131 of file GteBaseEngine.h.
|
inline |
Definition at line 136 of file GteBaseEngine.h.
|
inline |
Definition at line 141 of file GteBaseEngine.h.
|
inline |
Definition at line 171 of file GteBaseEngine.h.
|
inline |
Definition at line 186 of file GteBaseEngine.h.
|
inline |
Definition at line 156 of file GteBaseEngine.h.
|
inline |
Definition at line 201 of file GteBaseEngine.h.
|
pure virtual |
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
inline |
Definition at line 176 of file GteBaseEngine.h.
|
inline |
Definition at line 146 of file GteBaseEngine.h.
|
inline |
Definition at line 191 of file GteBaseEngine.h.
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
protecteddelete |
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
pure virtual |
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
inline |
Definition at line 116 of file GteBaseEngine.h.
|
inline |
Definition at line 121 of file GteBaseEngine.h.
Definition at line 126 of file GteBaseEngine.h.
|
inline |
Definition at line 166 of file GteBaseEngine.h.
|
inline |
Definition at line 181 of file GteBaseEngine.h.
|
inline |
Definition at line 151 of file GteBaseEngine.h.
|
inline |
Definition at line 196 of file GteBaseEngine.h.
|
pure virtual |
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
pure virtual |
Implemented in gte::DX11Engine, and gte::GL4Engine.
Reimplemented in gte::GraphicsEngine.
Definition at line 26 of file GteBaseEngine.cpp.
|
pure virtual |
Implemented in gte::DX11Engine, and gte::GL4Engine.
Implemented in gte::DX11Engine, and gte::GL4Engine.
|
pure virtual |
Implemented in gte::DX11Engine, gte::GL4Engine, and gte::GraphicsEngine.
|
pure virtual |
Implemented in gte::DX11Engine, gte::GL4Engine, and gte::GraphicsEngine.
|
protected |
Definition at line 108 of file GteBaseEngine.h.
|
protected |
Definition at line 110 of file GteBaseEngine.h.
|
protected |
Definition at line 104 of file GteBaseEngine.h.
|
protected |
Definition at line 112 of file GteBaseEngine.h.
|
protected |
Definition at line 98 of file GteBaseEngine.h.
|
protected |
Definition at line 99 of file GteBaseEngine.h.
|
protected |
Definition at line 100 of file GteBaseEngine.h.
|
protected |
Definition at line 107 of file GteBaseEngine.h.
|
protected |
Definition at line 109 of file GteBaseEngine.h.
|
protected |
Definition at line 103 of file GteBaseEngine.h.
|
protected |
Definition at line 111 of file GteBaseEngine.h.
|
protected |
Definition at line 95 of file GteBaseEngine.h.
|
protected |
Definition at line 95 of file GteBaseEngine.h.