VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlTextureResidentMemoryTracker.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2021 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
12 
14 
15 #include <unordered_set>
16 #include <unordered_map>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtGlBuffer;
23 
74  {
75  public:
78 
81 
84 
87 
88  public:
90  virtual void textureResidencyChanged(unsigned int textureId);
91 
93  virtual const DtGlTrackedTextureProperties& trackedProperties(void) const;
94 
96  virtual const std::unordered_map<unsigned int, int>& textures(void) const;
97 
98  protected:
100  std::unordered_map<unsigned int, int> myTrackedTextures;
101 
104  };
105 }
Contains makVrv::DtGlTrackedTextureProperties class.
Dll export defines.
DtGlTextureResidentMemoryTracker class is used to track resident memory of the textures in the system...
Definition: DtGlTextureResidentMemoryTracker.h:73
These properties are used in conjunction with DtGlTextureResidentMemoryTracker/DtGlTextureMemoryTrack...
Definition: DtGlTrackedTextureProperties.h:20
std::unordered_map< unsigned int, int > myTrackedTextures
textures that are resident
Definition: DtGlTextureResidentMemoryTracker.h:100
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
DtGlTrackedTextureProperties myProperties
properties
Definition: DtGlTextureResidentMemoryTracker.h:103

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)