#include <TRenderAdapter_DX8.h>
Definition at line 14 of file TRenderAdapter_DX8.h.
◆ GetAdapter()
◆ GetBackBufferFormat()
D3DFORMAT TD3DAdapter::Mode::GetBackBufferFormat |
( |
TUINT32 | a_uiColourDepth | ) |
|
Definition at line 245 of file TRenderAdapter_DX8.cpp.
246{
247 if ( a_uiColourDepth == 16 )
248 {
249 return D3DFORMAT( ( -(
TUINT32)( ( *(
TUINT8*)&( m_DisplayMode ).Format & 0x17 ) != 0 ) & 0xfffffff9 ) + D3DFMT_X4R4G4B4 );
250 }
251
252 return D3DFORMAT( ( a_uiColourDepth != 32 ) - 1 & 0x16 );
253}
◆ GetD3DDisplayMode()
D3DDISPLAYMODE & TD3DAdapter::Mode::GetD3DDisplayMode |
( |
| ) |
|
|
inline |
◆ GetDevice()
◆ GetHeight()
TUINT32 TD3DAdapter::Mode::GetHeight |
( |
| ) |
const |
|
overridevirtual |
◆ GetModeIndex()
TSIZE TD3DAdapter::Mode::GetModeIndex |
( |
| ) |
const |
|
overridevirtual |
◆ GetRefreshRate()
TUINT32 TD3DAdapter::Mode::GetRefreshRate |
( |
| ) |
const |
|
overridevirtual |
◆ GetWidth()
TUINT32 TD3DAdapter::Mode::GetWidth |
( |
| ) |
const |
|
overridevirtual |
◆ Is16Bit()
TBOOL TD3DAdapter::Mode::Is16Bit |
( |
| ) |
const |
|
overridevirtual |
Implements TRenderAdapter::Mode.
Definition at line 220 of file TRenderAdapter_DX8.cpp.
221{
222 return m_DisplayMode.Format == D3DFMT_R5G6B5 ||
223 m_DisplayMode.Format == D3DFMT_X1R5G5B5 ||
224 m_DisplayMode.Format == D3DFMT_X4R4G4B4;
225}
◆ Is32Bit()
TBOOL TD3DAdapter::Mode::Is32Bit |
( |
| ) |
const |
|
overridevirtual |
◆ SetD3DDisplayMode()
void TD3DAdapter::Mode::SetD3DDisplayMode |
( |
const D3DDISPLAYMODE & | a_rDisplayMode | ) |
|
|
inline |
◆ SetModeIndex()
void TD3DAdapter::Mode::SetModeIndex |
( |
TUINT32 | a_uiModeIndex | ) |
|
|
inline |
◆ SetOwnerAdapter()
void TD3DAdapter::Mode::SetOwnerAdapter |
( |
TD3DAdapter * | a_pOwnerAdapter | ) |
|
|
inline |
◆ NUMSUPPORTEDDEVICES
TUINT32 TD3DAdapter::Mode::NUMSUPPORTEDDEVICES = 2 |
|
staticconstexpr |
The documentation for this class was generated from the following files: