VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLoaderSettingsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtLoaderSettingsRecord.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtLoaderSettingsRecord_H_
14 #define DtLoaderSettingsRecord_H_
15 
17 
18 namespace makArchives
19 {
23  {
24  public:
25 
28 
31 
34 
36  DtLoaderSettingsRecord& operator=(const DtLoaderSettingsRecord& orig);
37 
38  bool ddsFlip() const;
39  void setDdsFlip( bool setting );
40 
41  int metaFlightPerformanceBias() const;
42  void setMetaFlightPerformanceBias(int setting);
43 
44  float metaFlightGeometryOffsetFactor() const;
45  void setMetaFlightGeometryOffsetFactor(float val);
46 
47  bool metaFlightCompressVirtualTextures() const;
48  void setMetaFlightCompressVirtualTextures(bool val);
49 
50 
51 
52  protected:
53 
55  friend class boost::serialization::access;
56 
60  template<class Archive>
61  void serialize(Archive & ar, const unsigned int version)
62  {
63  ar & BOOST_SERIALIZATION_NVP(myMetaFlightPerformanceBias);
64  ar & BOOST_SERIALIZATION_NVP(myDdsFlip);
65 
66  if (version >= 3)
67  {
68  ar & BOOST_SERIALIZATION_NVP(myMetaFlightGeometryOffsetFactor);
69  ar & BOOST_SERIALIZATION_NVP(myMetaFlightCompressVirtualTextures);
70  }
71  }
72 
73  protected:
76  bool myDdsFlip;
78  };
79 }
80 
81 
83 
84 #endif
85 
float myMetaFlightGeometryOffsetFactor
Definition: DtLoaderSettingsRecord.h:75
bool myMetaFlightCompressVirtualTextures
Definition: DtLoaderSettingsRecord.h:77
bool myDdsFlip
Definition: DtLoaderSettingsRecord.h:76
Contains DLL export macros.
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
int myMetaFlightPerformanceBias
Definition: DtLoaderSettingsRecord.h:74
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: DtLoaderSettingsRecord.h:61
A DtLoaderSettingsRecord contains the information restore loader settings from disk.
Definition: DtLoaderSettingsRecord.h:22
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)