#include <vtkGPUInfo.h>
vtkGPUInfo stores information about GPU Video RAM. An host can have several GPUs. The values are set by vtkGPUInfoList.
Definition at line 33 of file vtkGPUInfo.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetDedicatedVideoMemory (vtkIdType) |
virtual vtkIdType | GetDedicatedVideoMemory () |
virtual void | SetDedicatedSystemMemory (vtkIdType) |
virtual vtkIdType | GetDedicatedSystemMemory () |
virtual void | SetSharedSystemMemory (vtkIdType) |
virtual vtkIdType | GetSharedSystemMemory () |
Static Public Member Functions | |
static vtkGPUInfo * | New () |
static int | IsTypeOf (const char *type) |
static vtkGPUInfo * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGPUInfo () | |
~vtkGPUInfo () | |
Protected Attributes | |
vtkIdType | DedicatedVideoMemory |
vtkIdType | DedicatedSystemMemory |
vtkIdType | SharedSystemMemory |
typedef vtkObject vtkGPUInfo::Superclass |
vtkGPUInfo::vtkGPUInfo | ( | ) | [protected] |
vtkGPUInfo::~vtkGPUInfo | ( | ) | [protected] |
static vtkGPUInfo* vtkGPUInfo::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkGPUInfo::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkGPUInfo::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkGPUInfo::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkGPUInfo* vtkGPUInfo::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
void vtkGPUInfo::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
virtual void vtkGPUInfo::SetDedicatedVideoMemory | ( | vtkIdType | ) | [virtual] |
Set/Get dedicated video memory in bytes. Initial value is 0. Usually the fastest one. If it is not null, it should be take into account first and DedicatedSystemMemory or SharedSystemMemory should be ignored.
virtual vtkIdType vtkGPUInfo::GetDedicatedVideoMemory | ( | ) | [virtual] |
Set/Get dedicated video memory in bytes. Initial value is 0. Usually the fastest one. If it is not null, it should be take into account first and DedicatedSystemMemory or SharedSystemMemory should be ignored.
virtual void vtkGPUInfo::SetDedicatedSystemMemory | ( | vtkIdType | ) | [virtual] |
Set/Get dedicated system memory in bytes. Initial value is 0. This is slow memory. If it is not null, this value should be taken into account only if there is no DedicatedVideoMemory and SharedSystemMemory should be ignored.
virtual vtkIdType vtkGPUInfo::GetDedicatedSystemMemory | ( | ) | [virtual] |
Set/Get dedicated system memory in bytes. Initial value is 0. This is slow memory. If it is not null, this value should be taken into account only if there is no DedicatedVideoMemory and SharedSystemMemory should be ignored.
virtual void vtkGPUInfo::SetSharedSystemMemory | ( | vtkIdType | ) | [virtual] |
Set/Get shared system memory in bytes. Initial value is 0. Slowest memory. This value should be taken into account only if there is neither DedicatedVideoMemory nor DedicatedSystemMemory.
virtual vtkIdType vtkGPUInfo::GetSharedSystemMemory | ( | ) | [virtual] |
Set/Get shared system memory in bytes. Initial value is 0. Slowest memory. This value should be taken into account only if there is neither DedicatedVideoMemory nor DedicatedSystemMemory.
vtkIdType vtkGPUInfo::DedicatedVideoMemory [protected] |
Definition at line 70 of file vtkGPUInfo.h.
vtkIdType vtkGPUInfo::DedicatedSystemMemory [protected] |
Definition at line 71 of file vtkGPUInfo.h.
vtkIdType vtkGPUInfo::SharedSystemMemory [protected] |
Definition at line 72 of file vtkGPUInfo.h.