|
coastline 0.0.4
|
A Direct3D device of a driver. More...
#include <renderer.h>
Public Member Functions | |
| GUID * | GetGuid () |
| const D3DDEVICEDESC * | GetHardwareDescription () const |
| const D3DDEVICEDESC * | GetSoftwareDescription () const |
| D3DDeviceNode * | GetPrevious () const |
| D3DDeviceNode * | GetNext () const |
| void | SetPrevious (D3DDeviceNode *device) |
Link the preceding device. | |
| void | SetNext (D3DDeviceNode *device) |
Link the following device. | |
| void | ReleaseD3DDeviceNode () |
| Free the texture formats, the description, and the name of the device, and unlink it, before it is freed. | |
| bool | CompareD3DDeviceGuid (const GUID *pGuid) |
| Whether a GUID names the device, a device that was read alone. | |
| D3DDeviceNode () | |
| Start a device without texts, with empty descriptions. | |
| HRESULT | InitD3DDeviceNode (GUID *pGuid, LPSTR pszNewDescription, LPSTR pszNewName, D3DDEVICEDESC *pHardwareDesc, D3DDEVICEDESC *pSoftwareDesc) |
| Read a device Direct3D reports. | |
| HRESULT | EnqueueTextureFormatNode (DisplayMode *pFormat) |
| Add a texture format to the end of the formats of the device. | |
| bool | IsHardwareDevice () |
| Whether the device is a device of the hardware, one with a colour model of its own. | |
| HRESULT | EnumerateDeviceTextureFormats (IDirect3DDevice2 *pD3DDevice) |
| Find the texture formats a device created from the node supports. | |
A Direct3D device of a driver.
The layout after softwareDesc is not recovered yet.
|
inline |
Start a device without texts, with empty descriptions.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Link the preceding device.
|
inline |
Link the following device.
| void D3DDeviceNode::ReleaseD3DDeviceNode | ( | ) |
Free the texture formats, the description, and the name of the device, and unlink it, before it is freed.
| bool D3DDeviceNode::CompareD3DDeviceGuid | ( | const GUID * | pGuid | ) |
| HRESULT D3DDeviceNode::InitD3DDeviceNode | ( | GUID * | pGuid, |
| LPSTR | pszNewDescription, | ||
| LPSTR | pszNewName, | ||
| D3DDEVICEDESC * | pHardwareDesc, | ||
| D3DDEVICEDESC * | pSoftwareDesc ) |
Read a device Direct3D reports.
| pGuid | The GUID of the device. |
| pszNewDescription | The description of the device. |
| pszNewName | The name of the device. |
| pHardwareDesc | What the hardware of the device does. |
| pSoftwareDesc | What the emulation of the device does. |
| HRESULT D3DDeviceNode::EnqueueTextureFormatNode | ( | DisplayMode * | pFormat | ) |
Add a texture format to the end of the formats of the device.
| pFormat | The format. |
| bool D3DDeviceNode::IsHardwareDevice | ( | ) |
Whether the device is a device of the hardware, one with a colour model of its own.
| HRESULT D3DDeviceNode::EnumerateDeviceTextureFormats | ( | IDirect3DDevice2 * | pD3DDevice | ) |
Find the texture formats a device created from the node supports.
| pD3DDevice | The device created. |