VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFileCacheInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtFileCacheInterface.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 namespace makVrv
17 {
21  {
22  public:
23 
25  virtual ~DtFileCacheInterface();
26 
29  boost::signal<void (bool)> signal_enableAccelerationCachingChanged;
30 
32  boost::signal<void (bool)> signal_clearOnNewSceneChanged;
33 
35  boost::signal <void (bool)> signal_compressTexturesChanged;
36 
38  boost::signal <void ()> signal_clearAccelerationCache;
39 
41  boost::signal <void (bool)> signal_enableInstancingChanged;
42 
44  boost::signal <void ()> signal_clearInstanceCache;
45 
48  virtual void setEnableAccelerationCaching(bool enabled) = 0;
49 
51  virtual void setCompressTexture(bool enabled) = 0;
52 
54  virtual void setEnableInstancing(bool enabled) = 0;
55 
57  virtual void setClearOnNewScene(bool enabled) = 0;
58  };
59 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
The interface for the DtFileCachePage.
Definition: DtFileCacheInterface.h:20
boost::signal< void(bool)> signal_enableAccelerationCachingChanged
Signals.
Definition: DtFileCacheInterface.h:29
boost::signal< void()> signal_clearAccelerationCache
Called when the user presses the clear cache button.
Definition: DtFileCacheInterface.h:38
boost::signal< void(bool)> signal_compressTexturesChanged
Called when the user checks the texture compression checkbox.
Definition: DtFileCacheInterface.h:35
boost::signal< void()> signal_clearInstanceCache
Called when the user presses the clear instance cache button.
Definition: DtFileCacheInterface.h:44
boost::signal< void(bool)> signal_clearOnNewSceneChanged
Called when the clear on new scene widget state changes.
Definition: DtFileCacheInterface.h:32
boost::signal< void(bool)> signal_enableInstancingChanged
Called when the user checks the runtime caching checkbox.
Definition: DtFileCacheInterface.h:41

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)