Saga3D API Documentation
1.0-RC4
|
Go to the documentation of this file. 1 #ifndef __SDEVICE_CREATION_PARAMETERS_H_INCLUDED__
2 #define __SDEVICE_CREATION_PARAMETERS_H_INCLUDED__
6 #include <glm/vec2.hpp>
glm::uvec2 WindowSize
Size of the window or the video mode in fullscreen mode. Default: 800x600.
bool Vsync
Specifies vertical synchronization.
E_DRIVER_TYPE
An enum class for all types of drivers Saga3D supports.
SDeviceCreationParameters & operator=(const SDeviceCreationParameters &other)
bool Stencilbuffer
Specifies if the stencil buffer should be enabled.
SDeviceCreationParameters(const SDeviceCreationParameters &other)
IEventReceiver * EventReceiver
A user created event receiver.
glm::uvec2 WindowPosition
Position of the window on-screen. Default: (-1, -1) or centered.
std::uint32_t DisplayAdapter
Allows to select which graphic card is used for rendering when more than one card is in the system.
video::E_DRIVER_TYPE DriverType
Type of video driver used to render graphics.
SDeviceCreationParameters()
Constructs a SDeviceCreationParameters structure with default values.
void * DisplayId
Window Id.
Interface of an object which can receive events (SDL_Event*)
bool Fullscreen
Should be set to true if the device should run in fullscreen.
E_DEVICE_TYPE
An enum class for the different device types supported by the engine.
bool WithAlphaChannel
Whether the main framebuffer uses an alpha channel.
bool DriverMultithreaded
Create the driver multithreaded.
bool HandleSRGB
Flag to enable proper sRGB and linear color handling.
Structure for holding device creation parameters.
E_DEVICE_TYPE DeviceType
Type of the device.
bool UsePerformanceTimer
Enables use of high performance timers on Windows platform.
bool Stereobuffer
Specifies if the device should use stereo buffers.
std::uint8_t Bits
Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode....
bool HighPrecisionFPU
Specifies if the device should use high precision FPU setting.
std::uint8_t AntiAlias
Specifies if the device should use fullscreen anti aliasing.
bool Doublebuffer
Whether the main framebuffer uses doublebuffering.
bool IgnoreInput
Specifies if the device should ignore input events.
std::uint8_t ZBufferBits
Minimum Bits per pixel of the depth buffer. Default: 24.