71 DriverName(
NULL), DriverVendor(
NULL), DriverVersion(
NULL),
72 HardwareName(
NULL), HardwareVendor(
NULL), HardwareChipset(
NULL)
92 AdapterIdentifier=src.AdapterIdentifier;
93 ResArray = src.ResArray;
118 void set_device_name(
const char * name) { DeviceName=name; }
119 void set_device_vendor(
const char * name) { DeviceVendor=name; }
120 void set_device_platform(
const char * name) { DevicePlatform=name; }
121 void set_driver_name(
const char * name) { DriverName=name; }
122 void set_driver_vendor(
const char * name) { DriverVendor=name; }
123 void set_driver_version(
const char * name) { DriverVersion=name; }
124 void set_hardware_name(
const char * name) { HardwareName=name; }
125 void set_hardware_vendor(
const char * name) { HardwareVendor=name; }
126 void set_hardware_chipset(
const char * name) { HardwareChipset=name; }
128 void reset_resolution_list(
void) { ResArray.Delete_All(); }
129 void add_resolution(
int w,
int h,
int bits);
131 StringClass DeviceName;
132 StringClass DeviceVendor;
133 StringClass DevicePlatform;
135 StringClass DriverName;
136 StringClass DriverVendor;
137 StringClass DriverVersion;
139 StringClass HardwareName;
140 StringClass HardwareVendor;
141 StringClass HardwareChipset;
144 D3DADAPTER_IDENTIFIER8 AdapterIdentifier;
146 DynamicVectorClass<ResolutionDescClass> ResArray;
153inline void RenderDeviceDescClass::add_resolution(
int w,
int h,
int bits)
156 for (
int i=0; i<ResArray.
Count(); i++) {
157 if ( (ResArray[i].Width == w) &&
158 (ResArray[i].Height == h) &&
159 (ResArray[i].BitDepth == bits))
166 ResArray.Add(ResolutionDescClass(w,h,bits));
const DynamicVectorClass< ResolutionDescClass > & Enumerate_Resolutions(void) const
const D3DADAPTER_IDENTIFIER8 & Get_Adapter_Identifier() const
const char * Get_Driver_Vendor() const
bool operator!=(const RenderDeviceDescClass &)
RenderDeviceDescClass & operator=(const RenderDeviceDescClass &src)
const char * Get_Driver_Version() const
const D3DCAPS8 & Get_Caps() const
RenderDeviceDescClass(void)
const char * Get_Device_Vendor() const
~RenderDeviceDescClass(void)
const char * Get_Hardware_Chipset() const
const char * Get_Hardware_Name() const
const char * Get_Device_Platform() const
bool operator==(const RenderDeviceDescClass &)
const char * Get_Device_Name() const
const char * Get_Hardware_Vendor() const
const char * Get_Driver_Name() const
ResolutionDescClass(int w, int h, int bits)
bool operator==(const ResolutionDescClass &src)
ResolutionDescClass(void)
bool operator!=(const ResolutionDescClass &src)