VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtSharedLoaderSettings.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtSharedSettings.h
>
13
#include <
vrvCore/DtSettingsBackupManager.h
>
14
#include <
makArchives/DtLoaderSettingsRecord.h
>
15
16
#include <
vrvCore/DtRecordSettingsBackup.h
>
17
18
#include <string>
19
#include <vector>
20
21
namespace
makArchives
22
{
23
class
DtLoaderSettingsRecord;
24
}
25
26
namespace
makVrv
27
{
28
29
class
DtDe;
30
class
DtSharedLoaderSettings
;
31
32
typedef
DtSharedRecordSettingsBackup
<
DtSharedLoaderSettings
,
33
makArchives::DtLoaderSettingsRecord
>
DtLoaderSettingsBackup
;
34
37
class
DT_DLL_VRVCORE
DtSharedLoaderSettings
:
public
DtSharedSettings
38
{
39
public
:
40
42
virtual
~
DtSharedLoaderSettings
();
43
46
47
bool
ddsFlip()
const
;
48
void
setDdsFlip(
bool
flip);
49
50
int
metaFlightPerformanceBias()
const
;
51
void
setMetaFlightPerformanceBias(
int
setting);
52
53
float
metaFlightGeometryOffsetFactor()
const
;
54
void
setMetaFlightGeometryOffsetFactor(
float
val);
55
56
bool
metaFlightCompressVirtualTextures()
const
;
57
void
setMetaFlightCompressVirtualTextures(
bool
val);
58
60
62
void
setFromRecord(
const
makArchives::DtLoaderSettingsRecord
& rec );
63
65
void
getRecord(
makArchives::DtLoaderSettingsRecord
& rec )
const
;
66
67
const
DtLoaderSettingsBackup
* settingsBackup()
const
68
{
69
return
mySettingsBackup;
70
}
71
72
DtLoaderSettingsBackup
* settingsBackup()
73
{
74
return
mySettingsBackup;
75
}
76
78
virtual
void
backup();
79
81
static
std::string className();
82
83
protected
:
84
86
friend
class
DtReadSettingsLock
<
DtSharedLoaderSettings
>;
87
friend
class
DtWriteSettingsLock
<
DtSharedLoaderSettings
>;
88
friend
class
DtSharedSettingsManager
;
89
91
DtSharedLoaderSettings
(
DtSharedSettingsManager
& manager);
92
93
protected
:
94
95
int
myMetaFlightPerformanceBias
;
96
bool
myDdsFlip
;
97
float
myMetaFlightGeometryOffsetFactor
;
98
bool
myMetaFlightCompressVirtualTextures
;
99
100
DtLoaderSettingsBackup
*
mySettingsBackup
;
101
102
};
103
104
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)