#include <Enumerator.h>
Public Member Functions | |
| Enumerator (void) | |
| ~Enumerator (void) | |
| size_t | GetDisplayAdapterCount () const |
| size_t | GetDeviceTypeCount () const |
| size_t | GetDisplayModeCount () const |
| size_t | GetBackBufferFormatCount () const |
| size_t | GetZBufferFormatCount () const |
| size_t | GetMultiSampleTypeCount () const |
| const D3DADAPTER_IDENTIFIER9 & | GetDisplayAdapter (int index=-1) const |
| D3DDEVTYPE | GetDeviceType (int index=-1) const |
| const D3DDISPLAYMODE & | GetDisplayMode (int index=-1) const |
| D3DFORMAT | GetBackBufferFormat (int index=-1) const |
| D3DFORMAT | GetZBufferFormat (int index=-1) const |
| D3DMULTISAMPLE_TYPE | GetMultiSampleType (int index=-1) const |
| DWORD | GetMultiSampleQuality (int index=-1) const |
| bool | EnumDisplayAdapters () |
| bool | EnumDeviceTypes (unsigned adapter) |
| bool | EnumDisplayModes (unsigned adapter) |
| bool | EnumBackBufferFormats (unsigned adapter, D3DDEVTYPE d3d_device_type, const D3DDISPLAYMODE &d3d_display_mode, bool windowed) |
| bool | EnumZBufferFormats (unsigned adapter, D3DDEVTYPE d3d_device_type, const D3DDISPLAYMODE &d3d_display_mode, D3DFORMAT d3d_back_buffer_format, bool windowed) |
| bool | EnumMultiSampleTypes (unsigned adapter, D3DDEVTYPE d3d_device_type, D3DFORMAT d3d_back_buffer_format, D3DFORMAT d3d_z_buffer_format, bool windowed) |
| bool | CheckDeviceType (D3DDEVTYPE d3d_device_type, unsigned *index=NULL) |
| bool | CheckDisplayMode (const D3DDISPLAYMODE &d3d_display_mode, unsigned *index=NULL) |
| bool | CheckBackBufferFormat (D3DFORMAT d3d_back_buffer_format, unsigned *index=NULL) |
| bool | CheckZBufferFormat (D3DFORMAT d3d_z_buffer_format, unsigned *index=NULL) |
| bool | CheckCombo (D3DDEVTYPE d3d_device_type, const D3DDISPLAYMODE &d3d_display_mode, D3DFORMAT d3d_back_buffer_format, D3DFORMAT d3d_z_buffer_format, bool windowed, unsigned *adapter=NULL) |
| xl7::direct3d::Enumerator::Enumerator | ( | void | ) |
Default constructor.
| xl7::direct3d::Enumerator::~Enumerator | ( | void | ) |
Destructor.
| bool xl7::direct3d::Enumerator::CheckBackBufferFormat | ( | D3DFORMAT | d3d_back_buffer_format, | |
| unsigned * | index = NULL | |||
| ) |
Checks whether the given back buffer format is supported.
| bool xl7::direct3d::Enumerator::CheckCombo | ( | D3DDEVTYPE | d3d_device_type, | |
| const D3DDISPLAYMODE & | d3d_display_mode, | |||
| D3DFORMAT | d3d_back_buffer_format, | |||
| D3DFORMAT | d3d_z_buffer_format, | |||
| bool | windowed, | |||
| unsigned * | adapter = NULL | |||
| ) |
Checks whether the combination of given device type, display mode, back buffer format and z-buffer format is supported.
| bool xl7::direct3d::Enumerator::CheckDeviceType | ( | D3DDEVTYPE | d3d_device_type, | |
| unsigned * | index = NULL | |||
| ) |
Checks whether the given device type is supported.
| bool xl7::direct3d::Enumerator::CheckDisplayMode | ( | const D3DDISPLAYMODE & | d3d_display_mode, | |
| unsigned * | index = NULL | |||
| ) |
Checks whether the given display mode is supported.
| bool xl7::direct3d::Enumerator::CheckZBufferFormat | ( | D3DFORMAT | d3d_z_buffer_format, | |
| unsigned * | index = NULL | |||
| ) |
Checks whether the given z-buffer format is supported.
| bool xl7::direct3d::Enumerator::EnumBackBufferFormats | ( | unsigned | adapter, | |
| D3DDEVTYPE | d3d_device_type, | |||
| const D3DDISPLAYMODE & | d3d_display_mode, | |||
| bool | windowed | |||
| ) |
Enumerates the back buffer formats for a given display adapter regarding the device type and display mode.
| bool xl7::direct3d::Enumerator::EnumDeviceTypes | ( | unsigned | adapter | ) |
Enumerates the device types for a given display adapter.
| bool xl7::direct3d::Enumerator::EnumDisplayAdapters | ( | ) |
Enumerates the display adapters.
| bool xl7::direct3d::Enumerator::EnumDisplayModes | ( | unsigned | adapter | ) |
Enumerates the display modes for a given display adapter.
| bool xl7::direct3d::Enumerator::EnumMultiSampleTypes | ( | unsigned | adapter, | |
| D3DDEVTYPE | d3d_device_type, | |||
| D3DFORMAT | d3d_back_buffer_format, | |||
| D3DFORMAT | d3d_z_buffer_format, | |||
| bool | windowed | |||
| ) |
Enmerates the multisampling types (and qualities) for a given display adapter regarding the device type, back buffer format and z-buffer format.
| bool xl7::direct3d::Enumerator::EnumZBufferFormats | ( | unsigned | adapter, | |
| D3DDEVTYPE | d3d_device_type, | |||
| const D3DDISPLAYMODE & | d3d_display_mode, | |||
| D3DFORMAT | d3d_back_buffer_format, | |||
| bool | windowed | |||
| ) |
Enumerates the z-buffer formats for a given display adapter regarding the device type, display mode and back buffer format.
| D3DFORMAT xl7::direct3d::Enumerator::GetBackBufferFormat | ( | int | index = -1 |
) | const |
Returns the back buffer format of the given index.
| size_t xl7::direct3d::Enumerator::GetBackBufferFormatCount | ( | ) | const |
Returns the number of back buffer formats.
| D3DDEVTYPE xl7::direct3d::Enumerator::GetDeviceType | ( | int | index = -1 |
) | const |
Returns the device type of the given index.
| size_t xl7::direct3d::Enumerator::GetDeviceTypeCount | ( | ) | const |
Returns the number of device types.
| const D3DADAPTER_IDENTIFIER9 & xl7::direct3d::Enumerator::GetDisplayAdapter | ( | int | index = -1 |
) | const |
Returns the display adapter identifier of the given index.
| size_t xl7::direct3d::Enumerator::GetDisplayAdapterCount | ( | ) | const |
Returns the number of display adapters.
| const D3DDISPLAYMODE & xl7::direct3d::Enumerator::GetDisplayMode | ( | int | index = -1 |
) | const |
Returns the display mode of the given index.
| size_t xl7::direct3d::Enumerator::GetDisplayModeCount | ( | ) | const |
Returns the number of display modes.
| DWORD xl7::direct3d::Enumerator::GetMultiSampleQuality | ( | int | index = -1 |
) | const |
Returns the multisampling quality of the given index.
| D3DMULTISAMPLE_TYPE xl7::direct3d::Enumerator::GetMultiSampleType | ( | int | index = -1 |
) | const |
Returns the multisampling type of the given index.
| size_t xl7::direct3d::Enumerator::GetMultiSampleTypeCount | ( | ) | const |
Returns the number of multisampling types.
| D3DFORMAT xl7::direct3d::Enumerator::GetZBufferFormat | ( | int | index = -1 |
) | const |
Returns the z-buffer format of the given index.
| size_t xl7::direct3d::Enumerator::GetZBufferFormatCount | ( | ) | const |
Returns the number of z-buffer formats.
1.7.1