65 Viewport(int32_t _x, int32_t _y, int32_t _w, int32_t _h) :
Definition: Material.h:81
Definition: Renderer.h:39
Definition: Background.h:13
Renderer * Init(Settings vs)
Definition: Graphics.cpp:99
void SetFov(float fov)
Definition: Graphics.cpp:54
Material * vtxColorMaterial
Definition: Graphics.cpp:34
Renderer *(* RendererCreateFunc)(const Settings &vs)
Definition: Graphics.h:44
RendererType
Definition: Graphics.h:17
@ RENDERER_DUMMY
Definition: Graphics.h:18
@ RENDERER_OPENGL_3x
Definition: Graphics.h:19
@ MAX_RENDERER_TYPE
Definition: Graphics.h:20
float GetFovFactor()
Definition: Graphics.cpp:60
vector3f ProjectToScreen(const Renderer *r, const vector3f &in)
Definition: Graphics.cpp:65
float GetFov()
Definition: Graphics.cpp:49
void Uninit()
Definition: Graphics.cpp:162
const char * RendererNameFromType(const RendererType rType)
Definition: Graphics.cpp:15
std::vector< VideoMode > GetAvailableVideoModes()
Definition: Graphics.cpp:172
int GetScreenWidth()
Definition: Graphics.cpp:39
void RegisterRenderer(RendererType type, RendererCreateFunc fn)
Definition: Graphics.cpp:26
int GetScreenHeight()
Definition: Graphics.cpp:44
Definition: Graphics.h:95
std::unique_ptr< Uint8[]> pixels
Definition: Graphics.h:96
Uint32 height
Definition: Graphics.h:98
Uint32 stride
Definition: Graphics.h:99
Uint32 bpp
Definition: Graphics.h:100
Uint32 width
Definition: Graphics.h:97
Definition: Graphics.h:26
bool useAnisotropicFiltering
Definition: Graphics.h:31
RendererType rendererType
Definition: Graphics.h:27
int height
Definition: Graphics.h:36
bool gl3ForwardCompatible
Definition: Graphics.h:33
const char * title
Definition: Graphics.h:39
bool fullscreen
Definition: Graphics.h:28
bool useTextureCompression
Definition: Graphics.h:30
int vsync
Definition: Graphics.h:34
int requestedSamples
Definition: Graphics.h:35
int width
Definition: Graphics.h:37
const char * iconFile
Definition: Graphics.h:38
bool enableDebugMessages
Definition: Graphics.h:32
bool hidden
Definition: Graphics.h:29
Definition: Graphics.h:48
int height
Definition: Graphics.h:54
int width
Definition: Graphics.h:53
VideoMode(int w, int h)
Definition: Graphics.h:49
Definition: Graphics.h:58
int32_t w
Definition: Graphics.h:71
int32_t x
Definition: Graphics.h:71
Viewport()
Definition: Graphics.h:59
Viewport(int32_t _x, int32_t _y, int32_t _w, int32_t _h)
Definition: Graphics.h:65
int32_t y
Definition: Graphics.h:71
int32_t h
Definition: Graphics.h:71