VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStreamedVboData.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
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <string>
15 
16 namespace osg
17 {
18  class State;
19 }
20 
21 namespace makVrv
22 {
26  {
27  public:
32 
34  DtStreamedVboData(const DtStreamedVboData& rhs) = delete;
36  DtStreamedVboData& operator=(const DtStreamedVboData& rhs) = delete;
37 
38  public:
40  virtual void releaseGLObjects(osg::State* state) const;
41 
43  virtual void init();
44 
46  virtual void setName(const char* name);
47 
48  public:
49  std::string myName;
50 
51  mutable unsigned int myVertsObject;
52  mutable unsigned int myColorsObject;
53  mutable unsigned int myNormalsObject;
54  mutable unsigned int myIndexBuffer;
55  mutable unsigned int myModelMatrixBuffer;
56  mutable unsigned int myColorArrayBuffer;
61  };
62 }
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
int myPrimitiveSize
Definition: DtStreamedVboData.h:57
unsigned int myColorArrayBuffer
Definition: DtStreamedVboData.h:56
a helper struct to send basic primitives to video card
Definition: DtStreamedVboData.h:25
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
unsigned int myColorsObject
Definition: DtStreamedVboData.h:52
int myPrimitiveType
Definition: DtStreamedVboData.h:60
unsigned int myModelMatrixBuffer
Definition: DtStreamedVboData.h:55
unsigned int myNormalsObject
Definition: DtStreamedVboData.h:53
std::string myName
Definition: DtStreamedVboData.h:49
unsigned int myVertsObject
Definition: DtStreamedVboData.h:51
unsigned int myIndexBuffer
Definition: DtStreamedVboData.h:54
Contains DLL export macros.
int myIsInitialized
Definition: DtStreamedVboData.h:59
int myIndexCount
Definition: DtStreamedVboData.h:58

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)