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 #include <string>
14 
15 namespace makVrv
16 {
21  {
22  public:
24  DtGpuOperation(const std::string& name, DtDe& de);
26  virtual ~DtGpuOperation();
27  private:
29  DtGpuOperation() = delete;
31  DtGpuOperation(const DtGpuOperation& rhs) = delete;
33  DtGpuOperation& operator=(const DtGpuOperation& rhs) = delete;
34  public:
36  virtual void execute() = 0;
37  protected:
39  const std::string myName;
40  };
41 }
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:20
DtGpuOperation()=delete
not allowed
DtGpuOperation & operator=(const DtGpuOperation &rhs)=delete
not allowed
virtual ~DtGpuOperation()
destructor
const std::string myName
Definition: DtGpuOperation.h:39
DtDe & myDe
Definition: DtGpuOperation.h:38
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:76

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)