VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCoreGlBuffer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include <vrvCore/vrvCore.h>
12 
13 #include <string>
14 
19 
21 
22 namespace makVrv
23 {
24  class DtDe;
28  {
29  protected:
30 
31  friend class DtCoreGlBufferCreator;
38  DtCoreGlBuffer(const char * name, DtBufferType type, DtUsage usage, DtCpuAccess accessType, bool hasStagingBuffer);
39 
40  public:
41 
43  virtual ~DtCoreGlBuffer();
44 
45  private:
48  DtCoreGlBuffer &operator=(const DtCoreGlBuffer &other) { return *this; }
49 
50 
51  protected:
52 
53 
54  };
55 
59  {
60  public:
63 
65  virtual ~DtCoreGlBufferCreator();
66  private:
70  DtCoreGlBufferCreator &operator=(const DtCoreGlBufferCreator &other);
71  public:
73  virtual DtGlBuffer* create(const char * name, DtBufferType type, DtUsage usage, DtCpuAccess accessType, bool hasStagingBuffer) const;
74 
77  static DtCoreGlBufferCreator& instance(DtDe& de);
78 
80  static const std::string& theClassName();
81 
82  protected:
84  };
85 }
Virtual base class.
Definition: DtVirtualBaseClass.h:19
DtBufferType
An abstract buffer type (vertex buffer, index buffer, etc) Used, for example, to create DtGlBuffers o...
Definition: DtBufferType.h:15
creator for DtCoreGlBuffer
Definition: DtCoreGlBuffer.h:58
Buffer Usage enums.
DtUsage
Definition: DtUsage.h:13
Enumerations for cpu access required by textures/buffers.
vrvCore&#39;s implementation of DtGlBuffer so it can be created by a creator
Definition: DtCoreGlBuffer.h:27
Contains makVrv::DtVirtualBaseClass class.
DtCoreGlBuffer & operator=(const DtCoreGlBuffer &other)
Default and copy constructors are private in base class Assignment Operator Not implemented – Assignme...
Definition: DtCoreGlBuffer.h:48
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtGlBuffer class declaration.
DtDe & myDe
Definition: DtCoreGlBuffer.h:83
A generic OpenGL buffer.
Definition: DtGlBuffer.h:27
Buffer Type enums.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtCpuAccess
Definition: DtCpuAccess.h:13
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)