#include <GraphicsDevice.h>
Public Attributes | |
GraphicsDeviceType | Type |
int | ScreenWidth |
int | ScreenHeight |
union { | |
struct { | |
} OpenGL | |
}; | |
A struct full of parameters used to create a new GraphicsDevice
In the case of OpenGL, you have the option of using just the features of the particular context version you requested, or you can enable extensions and allow the renderer to take advantage of newer features that may be present and provide better performance. This lets the renderer do things like target Mac OSX, which only supports OpenGL 4.1, but on platforms that support OpenGL 4.5 the renderer can do things like direct state access.