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 
13 #include <string>
14 
15 namespace osg
16 {
17  class Texture;
18  class Image;
19 }
20 
21 namespace makVrv
22 {
23  class DtDe;
24  class DtIndirectLog;
25 
31  {
32  public:
34 
37 
44 
45  public:
47  virtual void setKey(osg::Image* srcOsgImage, const std::string& fileName) const;
48 
50  virtual void setKey(osg::Texture* srcOsgTexture, const std::string& fileName) const;
51 
52  virtual bool validKey(std::string& key, const osg::Texture* srcOsgTexture, bool warn) const;
53 
54  virtual bool validKey(std::string& key, const osg::Image* srcOsgImage, bool warn) const;
55  protected:
57 
58  protected:
59  static const std::string theKeyForBindlessTexture;
60 
62  };
63 }
64 
#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:30
DtIndirectLog & myIndirectLog
Definition: DtOsgToIndirectTextureKeyHelper.h:61
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:72
DtDe & myDe
Definition: DtOsgToIndirectTextureKeyHelper.h:56
static const std::string theKeyForBindlessTexture
Definition: DtOsgToIndirectTextureKeyHelper.h:59

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)