VR-Forces 4.1 Class Documentation
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:
75  bool myDdsFlip;
78  };
79 }
80 
81 
83 
84 #endif
85 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)