Torque3D Documentation / _generateds / PlatformVideoInfo

PlatformVideoInfo

Engine/source/platform/platformVideoInfo.h

More...

Classes:

Public Types

enum
PVIQueryType {
  PVI_QueryStart = 0
  PVI_NumDevices = 0
  PVI_Description 
  PVI_Name 
  PVI_ChipSet 
  PVI_DriverVersion 
  PVI_VRAM 
  PVI_QueryCount 
  PVI_NumAdapters 
}

Private Attributes

Protected Functions

bool

Signal handling method for GFX signals.

bool
_queryProperty(const PVIQueryType queryType, const U32 adapterId, String * outValue)

This is the query method which subclasses must implement.

Detailed Description

Public Types

PVIQueryType

Enumerator

PVI_QueryStart = 0

Start of the enum for looping.

PVI_NumDevices = 0

Number of sub adapters.

PVI_Description

String description of the adapter.

PVI_Name

Card name string.

PVI_ChipSet

Chipset string.

PVI_DriverVersion

Driver version string.

PVI_VRAM

Dedicated video memory in megabytes.

PVI_QueryCount

Counter so that this enum can be looped over.

PVI_NumAdapters

Number of adapters on the system.

Private Attributes

Vector< PVIAdapter > mAdapters 

Vector of adapters.

Protected Functions

_initialize()

Signal handling method for GFX signals.

This method will be called before any queries are made. All initialization, for example Win32 COM startup, should be done in this method. If the return value is false, no querys will be made.

Reimplemented by: WMIVideoInfo

_queryProperty(const PVIQueryType queryType, const U32 adapterId, String * outValue)

This is the query method which subclasses must implement.

The querys made are all found in the PVIQueryType enum. If NULL is specified for outValue, the sub class should simply return true if the query type is supported, and false otherwise.

Reimplemented by: WMIVideoInfo