5#ifndef DCPP_DUCKCPP_CREATION_PARAMETERS_HPP_INCLUDED
6#define DCPP_DUCKCPP_CREATION_PARAMETERS_HPP_INCLUDED
8#include <duckcpp/core/engine/EDriverTypes.hpp>
9#include <duckcpp/core/engine/EDeviceTypes.hpp>
10#include <duckcpp/core/engine/dimension2d.hpp>
11#include <duckcpp/core/engine/ILogger.hpp>
12#include <duckcpp/core/engine/position2d.hpp>
Interface of an object which can receive events.
Definition IEventReceiver.hpp:484
Class for holding Duckcpp Device creation parameters.
Definition SDuckcppCreationParameters.hpp:21
bool HandleSRGB
Flag to enable proper sRGB and linear color handling.
Definition SDuckcppCreationParameters.hpp:109
bool StereoBuffer
Specifies if the device should use stereo buffers.
Definition SDuckcppCreationParameters.hpp:143
bool DriverMultithreaded
Create the driver multithreaded.
Definition SDuckcppCreationParameters.hpp:232
dcpp::E_DEVICE_TYPE DeviceType
Type of the device.
Definition SDuckcppCreationParameters.hpp:34
bool DoubleBuffer
Whether the main framebuffer uses doublebuffering.
Definition SDuckcppCreationParameters.hpp:128
bool StencilBuffer
Specifies if the stencil buffer should be enabled.
Definition SDuckcppCreationParameters.hpp:70
dcpp::u8 Bits
Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode....
Definition SDuckcppCreationParameters.hpp:49
bool FullScreen
Should be set to true if the device should run in fullscreen.
Definition SDuckcppCreationParameters.hpp:56
bool IgnoreInput
Specifies if the device should ignore input events.
Definition SDuckcppCreationParameters.hpp:135
dcpp::u8 WindowResizable
Should a non-fullscreen window be resizable.
Definition SDuckcppCreationParameters.hpp:62
void * WindowId
Window Id.
Definition SDuckcppCreationParameters.hpp:208
dcpp::nub::dimension2d< u32 > WindowSize
Size of the window or the video mode in fullscreen mode. Default: 1280x800.
Definition SDuckcppCreationParameters.hpp:43
dcpp::u32 DisplayAdapter
Allows to select which graphic card is used for rendering when more than one card is in the system.
Definition SDuckcppCreationParameters.hpp:226
bool WithAlphaChannel
Whether the main framebuffer uses an alpha channel.
Definition SDuckcppCreationParameters.hpp:120
dcpp::video::E_DRIVER_TYPE DriverType
Type of video driver used to render graphics.
Definition SDuckcppCreationParameters.hpp:40
dcpp::u8 AntiAlias
Specifies if the device should use fullscreen anti aliasing.
Definition SDuckcppCreationParameters.hpp:94
bool HighPrecisionFPU
Specifies if the device should use high precision FPU setting.
Definition SDuckcppCreationParameters.hpp:152
dcpp::IEventReceiver * EventReceiver
A user created event receiver.
Definition SDuckcppCreationParameters.hpp:155
dcpp::ELOG_LEVEL LoggingLevel
Specifies the logging level used in the logging interface.
Definition SDuckcppCreationParameters.hpp:216
dcpp::nub::position2di WindowPosition
Position of the window on-screen. Default: (-1, -1) or centered.
Definition SDuckcppCreationParameters.hpp:46
bool Vsync
Specifies vertical synchronization.
Definition SDuckcppCreationParameters.hpp:76
static constexpr const dcpp::c8 *const SDK_version_do_not_use
Don't use or change this parameter.
Definition SDuckcppCreationParameters.hpp:244
dcpp::u8 ZBufferBits
Minimum Bits per pixel of the depth buffer. Default: 24.
Definition SDuckcppCreationParameters.hpp:52
bool UsePerformanceTimer
Enables use of high performance timers on Windows platform.
Definition SDuckcppCreationParameters.hpp:239
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
E_DRIVER_TYPE
An enum for all types of drivers the Duckcpp Engine supports.
Definition EDriverTypes.hpp:17
@ EDT_BURNINGSVIDEO
The Burning's Software Renderer, an alternative software renderer.
Definition EDriverTypes.hpp:40
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
char c8
8 bit character variable.
Definition irrTypes.hpp:37
unsigned char u8
8 bit unsigned variable.
Definition irrTypes.hpp:24
E_DEVICE_TYPE
An enum for the different device types supported by the Duckcpp Engine.
Definition EDeviceTypes.hpp:13
@ EIDT_BEST
This selection allows Duckcpp to choose the best device from the ones available.
Definition EDeviceTypes.hpp:54
ELOG_LEVEL
Definition ILogger.hpp:18
@ ELL_INFORMATION
Useful information to print. For example hardware infos or something started/stopped.
Definition ILogger.hpp:23
@ ELL_DEBUG
Used for printing information helpful in debugging.
Definition ILogger.hpp:20
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64