29 #ifndef __NVIDIAGRAPHICSOPTIONS_H__
30 #define __NVIDIAGRAPHICSOPTIONS_H__
39 #include <NvApiDriverSettings.h>
65 Inst< SFString > _settingsApplyingStatus = 0,
66 Inst< SFString > _threadedOptimization = 0,
67 Inst< SFString > _threadedOptimizationCurrent = 0,
68 Inst< SFString > _verticalSync = 0,
69 Inst< SFString > _verticalSyncCurrent = 0,
70 Inst< SFString > _fxaa = 0,
71 Inst< SFString > _fxaaCurrent = 0,
72 Inst< SFString > _powerMode = 0,
73 Inst< SFString > _powerModeCurrent = 0,
74 Inst< SFString > _shaderCache = 0,
75 Inst< SFString > _shaderCacheCurrent = 0,
76 Inst< SFString > _tripleBuffering = 0,
77 Inst< SFString > _tripleBufferingCurrent = 0 ) ;
82 virtual void initialize();
165 void applySettings();
167 string printNVAPIError(
const NvAPI_Status& err,
const int& line );
168 void setNVUstring( NvAPI_UnicodeString& nvStr,
const wchar_t* wcStr );
169 bool setting_applied;
170 string options_applying_result;
Base header file that handles all configuration related settings.
Contains the SFInt32 field class.
Contains the SFString field class.
Header file for X3DChildNode, X3D scene-graph node.
Specifies parameters to use for the NVIDIA graphic settings which normally can also be changed from N...
Definition: NvidiaGraphicsOptions.h:60
H3DUniquePtr< SFString > tripleBufferingCurrent
Reports the current value for the triple buffering field of NVIDIA 3d setting Access type: outputOnly...
Definition: NvidiaGraphicsOptions.h:160
H3DUniquePtr< SFString > verticalSync
Field controls the vertical sync field of NVIDIA 3d setting Access type: initializeOnly Default value...
Definition: NvidiaGraphicsOptions.h:106
H3DUniquePtr< SFString > threadedOptimizationCurrent
Reports the current value for the thread optimization field of NVIDIA 3d setting Access type: outputO...
Definition: NvidiaGraphicsOptions.h:100
H3DUniquePtr< SFString > verticalSyncCurrent
Reports the current value for the vertical sync field of NVIDIA 3d setting Access type: outputOnly De...
Definition: NvidiaGraphicsOptions.h:112
H3DUniquePtr< SFString > settingsApplyingStatus
Output only field which indicate whether the settings are applied and whether if they are applied suc...
Definition: NvidiaGraphicsOptions.h:87
H3DUniquePtr< SFString > shaderCacheCurrent
Reports the current value for the shader cache field of NVIDIA 3d setting Access type: outputOnly Def...
Definition: NvidiaGraphicsOptions.h:148
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: NvidiaGraphicsOptions.h:163
H3DUniquePtr< SFString > fxaaCurrent
Reports the current value for the fxaa field of NVIDIA 3d setting Access type: outputOnly Default val...
Definition: NvidiaGraphicsOptions.h:124
H3DUniquePtr< SFString > powerModeCurrent
Reports the current value for the power management mode of NVIDIA 3d setting Access type: outputOnly ...
Definition: NvidiaGraphicsOptions.h:136
H3DUniquePtr< SFString > fxaa
Field controls the fxaa field of NVIDIA 3d setting Access type: initializeOnly Default value: "GLOBAL...
Definition: NvidiaGraphicsOptions.h:118
H3DUniquePtr< SFString > threadedOptimization
Field controls the thread optimization field of NVIDIA 3d setting Access type: initializeOnly Default...
Definition: NvidiaGraphicsOptions.h:94
H3DUniquePtr< SFString > tripleBuffering
Field controls the triple buffering field of NVIDIA 3d setting Access type: initializeOnly Default va...
Definition: NvidiaGraphicsOptions.h:154
H3DUniquePtr< SFString > shaderCache
Field controls the shader cache field of NVIDIA 3d setting Access type: initializeOnly Default value:...
Definition: NvidiaGraphicsOptions.h:142
H3DUniquePtr< SFString > powerMode
Field controls the power management mode of NVIDIA 3d setting Access type: initializeOnly Default val...
Definition: NvidiaGraphicsOptions.h:130
This abstract node type indicates that the concrete nodes which are instantiated based on it may be u...
Definition: X3DChildNode.h:42
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194