Pioneer
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
Graphics.h File Reference
#include "RenderTarget.h"
#include "matrix4x4.h"
#include <memory>
#include <vector>
Include dependency graph for Graphics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Graphics::Settings
 
struct  Graphics::VideoMode
 
struct  Graphics::ViewportExtents
 
struct  Graphics::ScreendumpState
 

Namespaces

namespace  Graphics
 

Typedefs

typedef Renderer *(* Graphics::RendererCreateFunc) (const Settings &vs)
 

Enumerations

enum  Graphics::RendererType { Graphics::RENDERER_DUMMY , Graphics::RENDERER_OPENGL_3x , Graphics::MAX_RENDERER_TYPE }
 

Functions

const char * Graphics::RendererNameFromType (const RendererType rType)
 
void Graphics::RegisterRenderer (RendererType type, RendererCreateFunc fn)
 
int Graphics::GetScreenWidth ()
 
int Graphics::GetScreenHeight ()
 
float Graphics::GetFov ()
 
void Graphics::SetFov (float fov)
 
float Graphics::GetFovFactor ()
 
vector3d Graphics::ProjectToScreen (const Renderer *r, const vector3d &in)
 
vector3f Graphics::ProjectToScreen (const Renderer *r, const vector3f &in)
 
template<typename T >
vector3< T > Graphics::ProjectToScreen (const vector3< T > &vcam, const matrix4x4< T > &proj, const ViewportExtents &vp)
 
RendererGraphics::Init (Settings vs)
 
void Graphics::Uninit ()
 
std::vector< VideoModeGraphics::GetAvailableVideoModes ()