VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGpuOperation.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 namespace makVrv
15 {
20  {
21  public:
23  DtGpuOperation(const std::string& name, DtDe& de);
25  virtual ~DtGpuOperation();
26  private:
28  DtGpuOperation() = delete;
30  DtGpuOperation(const DtGpuOperation& rhs) = delete;
32  DtGpuOperation& operator=(const DtGpuOperation& rhs) = delete;
33  public:
35  virtual void execute() = 0;
36  protected:
38  const std::string myName;
39  };
40 }
Encapsulate an operation that needs to happen on the gpu This can be anything (transfer, compute, drawing, etc) It is called from DtGpuArena/DtGpuArenaUserData.
Definition: DtGpuOperation.h:19
DtGpuOperation()=delete
not allowed
DtGpuOperation & operator=(const DtGpuOperation &rhs)=delete
not allowed
virtual ~DtGpuOperation()
destructor
const std::string myName
Definition: DtGpuOperation.h:38
DtDe & myDe
Definition: DtGpuOperation.h:37
virtual void execute()=0
concrete class must implement
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

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)