VTK
9.5.20251214
Rendering
Core
vtkGPUInfo.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
13
14
#ifndef vtkGPUInfo_h
15
#define vtkGPUInfo_h
16
17
#include "
vtkObject.h
"
18
#include "vtkRenderingCoreModule.h"
// For export macro
19
20
VTK_ABI_NAMESPACE_BEGIN
21
class
VTKRENDERINGCORE_EXPORT
vtkGPUInfo
:
public
vtkObject
22
{
23
public
:
24
static
vtkGPUInfo
*
New
();
25
vtkTypeMacro(
vtkGPUInfo
,
vtkObject
);
26
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
27
29
35
vtkSetMacro(
DedicatedVideoMemory
, vtkTypeUInt64);
36
vtkGetMacro(
DedicatedVideoMemory
, vtkTypeUInt64);
38
40
46
vtkSetMacro(
DedicatedSystemMemory
, vtkTypeUInt64);
47
vtkGetMacro(
DedicatedSystemMemory
, vtkTypeUInt64);
49
51
56
vtkSetMacro(
SharedSystemMemory
, vtkTypeUInt64);
57
vtkGetMacro(
SharedSystemMemory
, vtkTypeUInt64);
59
60
protected
:
61
vtkGPUInfo
();
62
~vtkGPUInfo
()
override
;
63
64
vtkTypeUInt64
DedicatedVideoMemory
;
65
vtkTypeUInt64
DedicatedSystemMemory
;
66
vtkTypeUInt64
SharedSystemMemory
;
67
68
private
:
69
vtkGPUInfo
(
const
vtkGPUInfo
&) =
delete
;
70
void
operator=(
const
vtkGPUInfo
&) =
delete
;
71
};
72
73
VTK_ABI_NAMESPACE_END
74
#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:65
vtkGPUInfo::~vtkGPUInfo
~vtkGPUInfo() override
vtkGPUInfo::SharedSystemMemory
vtkTypeUInt64 SharedSystemMemory
Definition
vtkGPUInfo.h:66
vtkGPUInfo::vtkGPUInfo
vtkGPUInfo()
vtkGPUInfo::DedicatedVideoMemory
vtkTypeUInt64 DedicatedVideoMemory
Definition
vtkGPUInfo.h:64
vtkGPUInfo::New
static vtkGPUInfo * New()
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkObject::vtkObject
vtkObject()
vtkObject.h
Generated on Sun Dec 14 2025 07:57:24 for VTK by
1.13.2