Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | Namespace Members | Class Members | Related Pages

DeviceInfo Class Reference
[XEngineCore Library]

List of all members.

Detailed Description

This class is a data class that contains information about a device/driver of a display adapter. Use Renderer::GetDeviceInfo to query information about an available device.

Each graphics adapter might have a different number of devices/drivers that can be used to render scenes with it. Usually there will be at least a software device available, which is indicated by the software bool flag being set. If that flag is not set, it means that the device has some kind of hardware acceleration. In the simplest case, this could be an acceleration of only the rasterizer (as is the case with OpenGL MCDs). In the best case, the entire renderer is hardware accelerated.


Public Member Functions

 DeviceInfo ()
 Default constructor.
 DeviceInfo (const wxString &name, const wxString &description, bool isSoftwareDevice)
 Constructor for all members of this object.
const wxString & GetName () const
 Returns the name of the device (might be the driver name). This uniquely identifies a device.
const wxString & GetDescription () const
 Returns a description for the device represented by this object.
bool IsSoftwareDevice () const
 Returns true if this device is a software-only device. Note that this is an indication only and thus might not reflect the true nature of the actual device.


The documentation for this class was generated from the following file: