Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# SIrrCreationParameters.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2009 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_IRRLICHT_CREATION_PARAMETERS_H_INCLUDED__
    00006 #define __I_IRRLICHT_CREATION_PARAMETERS_H_INCLUDED__
    00007
    00008 #include "EDriverTypes.h"
    00009 #include "EDeviceTypes.h"
    00010 #include "dimension2d.h"
    00011
    00012 namespace irr
    00013 {
    00014         class IEventReceiver;
    00015
    00017
    00018         struct SIrrlichtCreationParameters
    00019         {
    00021                 SIrrlichtCreationParameters() :
    00022                         DeviceType(EIDT_BEST),
    00023                         DriverType(video::EDT_BURNINGSVIDEO),
    00024                         WindowSize(core::dimension2d<u32>(800, 600)),
    00025                         Bits(16),
    00026                         ZBufferBits(16),
    00027                         Fullscreen(false),
    00028                         Stencilbuffer(false),
    00029                         Vsync(false),
    00030                         AntiAlias(0),
    00031                         WithAlphaChannel(false),
    00032                         Doublebuffer(true),
    00033                         IgnoreInput(false),
    00034                         Stereobuffer(false),
    00035                         HighPrecisionFPU(false),
    00036                         EventReceiver(0),
    00037                         WindowId(0),
    00038                         SDK_version_do_not_use(IRRLICHT_SDK_VERSION)
    00039                 {
    00040                 }
    00041
    00042                 SIrrlichtCreationParameters(const SIrrlichtCreationParameters& other) :
    00043                         SDK_version_do_not_use(IRRLICHT_SDK_VERSION)
    00044                 {*this = other;}
    00045
    00046                 SIrrlichtCreationParameters& operator=(const SIrrlichtCreationParameters& other)
    00047                 {
    00048                         DeviceType = other.DeviceType;
    00049                         DriverType = other.DriverType;
    00050                         WindowSize = other.WindowSize;
    00051                         Bits = other.Bits;
    00052                         ZBufferBits = other.ZBufferBits;
    00053                         Fullscreen = other.Fullscreen;
    00054                         Stencilbuffer = other.Stencilbuffer;
    00055                         Vsync = other.Vsync;
    00056                         AntiAlias = other.AntiAlias;
    00057                         WithAlphaChannel = other.WithAlphaChannel;
    00058                         Doublebuffer = other.Doublebuffer;
    00059                         IgnoreInput = other.IgnoreInput;
    00060                         Stereobuffer = other.Stereobuffer;
    00061                         HighPrecisionFPU = other.HighPrecisionFPU;
    00062                         EventReceiver = other.EventReceiver;
    00063                         WindowId = other.WindowId;
    00064                         return *this;
    00065                 }
    00066
    00068
    00078                 E_DEVICE_TYPE DeviceType;
    00079
    00081
    00085                 video::E_DRIVER_TYPE DriverType;
    00086
    00088                 core::dimension2d<u32> WindowSize;
    00089
    00091                 u8 Bits;
    00092
    00094                 u8 ZBufferBits;
    00095
    00097
    00098                 bool Fullscreen;
    00099
    00101
    00106                 bool Stencilbuffer;
    00107
    00109
    00112                 bool Vsync;
    00113
    00115
    00130                 u8 AntiAlias;
    00131
    00133
    00141                 bool WithAlphaChannel;
    00142
    00144
    00149                 bool Doublebuffer;
    00150
    00152
    00156                 bool IgnoreInput;
    00157
    00159
    00164                 bool Stereobuffer;
    00165
    00167
    00173                 bool HighPrecisionFPU;
    00174
    00176                 IEventReceiver* EventReceiver;
    00177
    00179
    00229                 void* WindowId;
    00230
    00232
    00234                 const c8* const SDK_version_do_not_use;
    00235         };
    00236
    00237
    00238 } // end namespace irr
    00239
    00240 #endif
    00241

| The Irrlicht Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:05 2010 by Doxygen (1.5.6)