Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
VideoDX9Enum Class Reference

#include <VideoDX9Enum.h>

List of all members.

Public Types

enum  VP_TYPE { SOFTWARE_VP, MIXED_VP, HARDWARE_VP, PURE_HARDWARE_VP }

Public Member Functions

 VideoDX9Enum (IDirect3D9 *d3d9)
 ~VideoDX9Enum ()
void SetDirect3D9 (IDirect3D9 *d3d9)
HRESULT Enumerate ()
bool SuggestWindowSettings (VideoSettings *vs)
bool SuggestFullscreenSettings (VideoSettings *vs)
int NumAdapters () const
void SelectAdapter (int index)
VideoDX9AdapterInfoGetAdapterInfo ()
VideoDX9DeviceInfoGetDeviceInfo (DWORD devtype)
bool IsModeSupported (int width, int height, int bpp) const

Public Attributes

UINT min_width
UINT min_height
UINT min_color_bits
UINT min_alpha_bits
UINT min_depth_bits
UINT min_stencil_bits
bool uses_depth_buffer
bool uses_mixed_vp
bool req_windowed
bool req_fullscreen

Detailed Description

Definition at line 36 of file VideoDX9Enum.h.


Member Enumeration Documentation

Enumerator:
SOFTWARE_VP 
MIXED_VP 
HARDWARE_VP 
PURE_HARDWARE_VP 

Definition at line 39 of file VideoDX9Enum.h.


Constructor & Destructor Documentation

VideoDX9Enum::VideoDX9Enum ( IDirect3D9 *  d3d9)

Definition at line 146 of file VideoDX9Enum.cpp.

VideoDX9Enum::~VideoDX9Enum ( )

Definition at line 168 of file VideoDX9Enum.cpp.


Member Function Documentation

HRESULT VideoDX9Enum::Enumerate ( )

Definition at line 249 of file VideoDX9Enum.cpp.

VideoDX9AdapterInfo * VideoDX9Enum::GetAdapterInfo ( )

Definition at line 196 of file VideoDX9Enum.cpp.

VideoDX9DeviceInfo * VideoDX9Enum::GetDeviceInfo ( DWORD  devtype)

Definition at line 205 of file VideoDX9Enum.cpp.

bool VideoDX9Enum::IsModeSupported ( int  width,
int  height,
int  bpp 
) const

Definition at line 225 of file VideoDX9Enum.cpp.

int VideoDX9Enum::NumAdapters ( ) const
inline

Definition at line 55 of file VideoDX9Enum.h.

void VideoDX9Enum::SelectAdapter ( int  index)

Definition at line 189 of file VideoDX9Enum.cpp.

void VideoDX9Enum::SetDirect3D9 ( IDirect3D9 *  d3d9)

Definition at line 175 of file VideoDX9Enum.cpp.

bool VideoDX9Enum::SuggestFullscreenSettings ( VideoSettings vs)

Definition at line 744 of file VideoDX9Enum.cpp.

bool VideoDX9Enum::SuggestWindowSettings ( VideoSettings vs)

Definition at line 658 of file VideoDX9Enum.cpp.


Member Data Documentation

UINT VideoDX9Enum::min_alpha_bits

Definition at line 65 of file VideoDX9Enum.h.

UINT VideoDX9Enum::min_color_bits

Definition at line 64 of file VideoDX9Enum.h.

UINT VideoDX9Enum::min_depth_bits

Definition at line 66 of file VideoDX9Enum.h.

UINT VideoDX9Enum::min_height

Definition at line 63 of file VideoDX9Enum.h.

UINT VideoDX9Enum::min_stencil_bits

Definition at line 67 of file VideoDX9Enum.h.

UINT VideoDX9Enum::min_width

Definition at line 62 of file VideoDX9Enum.h.

bool VideoDX9Enum::req_fullscreen

Definition at line 72 of file VideoDX9Enum.h.

bool VideoDX9Enum::req_windowed

Definition at line 71 of file VideoDX9Enum.h.

bool VideoDX9Enum::uses_depth_buffer

Definition at line 69 of file VideoDX9Enum.h.

bool VideoDX9Enum::uses_mixed_vp

Definition at line 70 of file VideoDX9Enum.h.


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