VTK
9.2.6
Rendering
Core
vtkGPUInfo.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGPUInfo.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
25
26
#ifndef vtkGPUInfo_h
27
#define vtkGPUInfo_h
28
29
#include "
vtkObject.h
"
30
#include "vtkRenderingCoreModule.h"
// For export macro
31
32
class
VTKRENDERINGCORE_EXPORT
vtkGPUInfo
:
public
vtkObject
33
{
34
public
:
35
static
vtkGPUInfo
*
New
();
36
vtkTypeMacro(
vtkGPUInfo
,
vtkObject
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
40
46
vtkSetMacro(
DedicatedVideoMemory
, vtkTypeUInt64);
47
vtkGetMacro(
DedicatedVideoMemory
, vtkTypeUInt64);
49
51
57
vtkSetMacro(
DedicatedSystemMemory
, vtkTypeUInt64);
58
vtkGetMacro(
DedicatedSystemMemory
, vtkTypeUInt64);
60
62
67
vtkSetMacro(
SharedSystemMemory
, vtkTypeUInt64);
68
vtkGetMacro(
SharedSystemMemory
, vtkTypeUInt64);
70
71
protected
:
72
vtkGPUInfo
();
73
~vtkGPUInfo
()
override
;
74
75
vtkTypeUInt64
DedicatedVideoMemory
;
76
vtkTypeUInt64
DedicatedSystemMemory
;
77
vtkTypeUInt64
SharedSystemMemory
;
78
79
private
:
80
vtkGPUInfo
(
const
vtkGPUInfo
&) =
delete
;
81
void
operator=(
const
vtkGPUInfo
&) =
delete
;
82
};
83
84
#endif
vtkGPUInfo::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGPUInfo::DedicatedSystemMemory
vtkTypeUInt64 DedicatedSystemMemory
Definition
vtkGPUInfo.h:76
vtkGPUInfo::~vtkGPUInfo
~vtkGPUInfo() override
vtkGPUInfo::SharedSystemMemory
vtkTypeUInt64 SharedSystemMemory
Definition
vtkGPUInfo.h:77
vtkGPUInfo::vtkGPUInfo
vtkGPUInfo()
vtkGPUInfo::DedicatedVideoMemory
vtkTypeUInt64 DedicatedVideoMemory
Definition
vtkGPUInfo.h:75
vtkGPUInfo::New
static vtkGPUInfo * New()
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkObject::vtkObject
vtkObject()
vtkObject.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2