Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SIrrCreationParameters.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_IRRLICHT_CREATION_PARAMETERS_H_INCLUDED__
6
#define __I_IRRLICHT_CREATION_PARAMETERS_H_INCLUDED__
7
8
#include "
EDriverTypes.h
"
9
#include "
EDeviceTypes.h
"
10
#include "
dimension2d.h
"
11
#include "
ILogger.h
"
12
13
namespace
irr
14
{
15
class
IEventReceiver;
16
18
19
struct
SIrrlichtCreationParameters
20
{
22
SIrrlichtCreationParameters
() :
23
DeviceType
(
EIDT_BEST
),
24
DriverType
(video::
EDT_BURNINGSVIDEO
),
25
WindowSize
(core::dimension2d<
u32
>(800, 600)),
26
Bits
(16),
27
ZBufferBits
(16),
28
Fullscreen
(false),
29
Stencilbuffer
(false),
30
Vsync
(false),
31
AntiAlias
(0),
32
HandleSRGB
(false),
33
WithAlphaChannel
(false),
34
Doublebuffer
(true),
35
IgnoreInput
(false),
36
Stereobuffer
(false),
37
HighPrecisionFPU
(false),
38
EventReceiver
(0),
39
WindowId
(0),
40
#ifdef _DEBUG
41
LoggingLevel
(
ELL_DEBUG
),
42
#else
43
LoggingLevel
(
ELL_INFORMATION
),
44
#endif
45
DisplayAdapter
(0),
46
DriverMultithreaded
(false),
47
UsePerformanceTimer
(true),
48
SDK_version_do_not_use
(
IRRLICHT_SDK_VERSION
)
49
{
50
}
51
52
SIrrlichtCreationParameters
(
const
SIrrlichtCreationParameters
& other) :
53
SDK_version_do_not_use
(
IRRLICHT_SDK_VERSION
)
54
{*
this
= other;}
55
56
SIrrlichtCreationParameters
&
operator=
(
const
SIrrlichtCreationParameters
& other)
57
{
58
DeviceType
= other.
DeviceType
;
59
DriverType
= other.
DriverType
;
60
WindowSize
= other.
WindowSize
;
61
Bits
= other.
Bits
;
62
ZBufferBits
= other.
ZBufferBits
;
63
Fullscreen
= other.
Fullscreen
;
64
Stencilbuffer
= other.
Stencilbuffer
;
65
Vsync
= other.
Vsync
;
66
AntiAlias
= other.
AntiAlias
;
67
HandleSRGB
= other.
HandleSRGB
;
68
WithAlphaChannel
= other.
WithAlphaChannel
;
69
Doublebuffer
= other.
Doublebuffer
;
70
IgnoreInput
= other.
IgnoreInput
;
71
Stereobuffer
= other.
Stereobuffer
;
72
HighPrecisionFPU
= other.
HighPrecisionFPU
;
73
EventReceiver
= other.
EventReceiver
;
74
WindowId
= other.
WindowId
;
75
LoggingLevel
= other.
LoggingLevel
;
76
DriverMultithreaded
= other.
DriverMultithreaded
;
77
DisplayAdapter
= other.
DisplayAdapter
;
78
UsePerformanceTimer
= other.
UsePerformanceTimer
;
79
return
*
this
;
80
}
81
83
93
E_DEVICE_TYPE
DeviceType
;
94
96
100
video::E_DRIVER_TYPE
DriverType
;
101
103
core::dimension2d<u32>
WindowSize
;
104
106
u8
Bits
;
107
109
u8
ZBufferBits
;
110
112
113
bool
Fullscreen
;
114
116
121
bool
Stencilbuffer
;
122
124
127
bool
Vsync
;
128
130
145
u8
AntiAlias
;
146
148
160
bool
HandleSRGB
;
161
163
171
bool
WithAlphaChannel
;
172
174
179
bool
Doublebuffer
;
180
182
186
bool
IgnoreInput
;
187
189
194
bool
Stereobuffer
;
195
197
203
bool
HighPrecisionFPU
;
204
206
IEventReceiver
*
EventReceiver
;
207
209
259
void
*
WindowId
;
260
262
267
ELOG_LEVEL
LoggingLevel
;
268
270
271
u32
DisplayAdapter
;
272
274
277
bool
DriverMultithreaded
;
278
280
284
bool
UsePerformanceTimer
;
285
287
289
const
c8
*
const
SDK_version_do_not_use
;
290
};
291
292
293
}
// end namespace irr
294
295
#endif
296
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Mon Jun 6 2022 20:53:06 for Irrlicht 3D Engine by
Doxygen
1.8.1.2