VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgToIndirectTextureKeyHelper.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
12 #include <osg/ValueObject>
13 
14 #include <string>
15 
16 namespace osg
17 {
18  class Texture;
19  class Image;
20 }
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtIndirectLog;
26 
32  {
33  public:
35 
38 
45 
46  public:
48  virtual void setKey(osg::Image* srcOsgImage, const std::string& fileName) const;
49 
51  virtual void setKey(osg::Texture* srcOsgTexture, const std::string& fileName) const;
52 
53  virtual bool validKey(std::string& key, const osg::Texture* srcOsgTexture, bool warn) const;
54 
55  virtual bool validKey(std::string& key, const osg::Image* srcOsgImage, bool warn) const;
56  protected:
58 
59  protected:
60  static const std::string theKeyForBindlessTexture;
61 
63  };
64 }
65 
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
This class is specifically used by the indirect system It&#39;s separate so that it doesn&#39;t interfere wit...
Definition: DtIndirectLog.h:30
This class is used by vrv/indirect system to set certain keys and values on osg::Image and osg::Textu...
Definition: DtOsgToIndirectTextureKeyHelper.h:31
DtIndirectLog & myIndirectLog
Definition: DtOsgToIndirectTextureKeyHelper.h:62
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtDe & myDe
Definition: DtOsgToIndirectTextureKeyHelper.h:57
static const std::string theKeyForBindlessTexture
Definition: DtOsgToIndirectTextureKeyHelper.h:60

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)