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 {
17  class DtGpuArenaUploadState;
18 
31  {
32  public:
37  DtGpuOperation(const std::string& name, DtDe& de);
39  virtual ~DtGpuOperation();
40  private:
42  DtGpuOperation() = delete;
44  DtGpuOperation(const DtGpuOperation& rhs) = delete;
46  DtGpuOperation& operator=(const DtGpuOperation& rhs) = delete;
47  public:
52  virtual void execute() = 0;
53 
59  virtual void execute( DtGpuArenaUploadState& uploadState );
60  protected:
62  const std::string myName;
63  };
64 }
Abstract base for any operation that runs on the GPU via DtGpuArena.
Definition: DtGpuOperation.h:30
DtGpuOperation()=delete
not allowed
DtGpuOperation & operator=(const DtGpuOperation &rhs)=delete
not allowed
Manages and tracks memory usage statistics for GPU resource upload operations.
Definition: DtGpuArenaUploadState.h:39
virtual ~DtGpuOperation()
Destructor.
const std::string myName
Human-readable name for debugging and profiling.
Definition: DtGpuOperation.h:62
DtDe & myDe
Drawing entity associated with this operation.
Definition: DtGpuOperation.h:61
virtual void execute()=0
Execute the GPU operation on the render thread.
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 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)