Darc Library
2012.11
|
Base class for Direct3D Parameters. More...
#include <px_D3D9_Parameter.h>
Public Types | |
enum | Locals { UNLOCKED = -1, MASK_A = 0, MASK_B = 1 } |
Public Member Functions | |
PX_D3D_ParameterBase (PX_D3D_PARAM _cID) | |
virtual | ~PX_D3D_ParameterBase () |
UInt | getNumberOfItems () const |
UInt | getNumberOfAvailableItems () const |
Int | getAvailableIndex (UInt _itemID) const |
Int | getLock () const |
DCR | setLock (Int _lock) |
virtual bool | getMask (UInt _maskID, UInt _itemID) const =0 |
virtual void | setMask (UInt _maskID, bool _b)=0 |
virtual void | setMask (UInt _maskID, UInt _itemID, bool _b)=0 |
virtual void | combineMask ()=0 |
virtual QString | getString (UInt _itemID)=0 |
Protected Attributes | |
UInt | m_nItem |
Int | m_lock |
PX_D3D_PARAM | m_configID |
Base class for Direct3D Parameters.
virtual darc::protox::PX_D3D_ParameterBase::~PX_D3D_ParameterBase | ( | ) | [inline, virtual] |
virtual void darc::protox::PX_D3D_ParameterBase::combineMask | ( | ) | [pure virtual] |
Implemented in darc::protox::PX_D3D_Parameter< T >, darc::protox::PX_D3D_Parameter< D3DDEVTYPE >, darc::protox::PX_D3D_Parameter< VectorUI2D >, darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT >, darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE >, darc::protox::PX_D3D_Parameter< DWORD >, darc::protox::PX_D3D_Parameter< bool >, darc::protox::PX_D3D_Parameter< UInt >, and darc::protox::PX_D3D_Parameter< D3DFORMAT >.
DC_INT darc::protox::PX_D3D_ParameterBase::getAvailableIndex | ( | UInt | _itemID | ) | const |
DC_INT darc::protox::PX_D3D_ParameterBase::getLock | ( | ) | const |
Returns the current lock status.
virtual bool darc::protox::PX_D3D_ParameterBase::getMask | ( | UInt | _maskID, |
UInt | _itemID | ||
) | const [pure virtual] |
Implemented in darc::protox::PX_D3D_Parameter< T >, darc::protox::PX_D3D_Parameter< D3DDEVTYPE >, darc::protox::PX_D3D_Parameter< VectorUI2D >, darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT >, darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE >, darc::protox::PX_D3D_Parameter< DWORD >, darc::protox::PX_D3D_Parameter< bool >, darc::protox::PX_D3D_Parameter< UInt >, and darc::protox::PX_D3D_Parameter< D3DFORMAT >.
DC_UINT darc::protox::PX_D3D_ParameterBase::getNumberOfAvailableItems | ( | ) | const |
Returns the item index of the n-th available item.
_itemID | N-th available index. |
DC_UINT darc::protox::PX_D3D_ParameterBase::getNumberOfItems | ( | ) | const |
virtual QString darc::protox::PX_D3D_ParameterBase::getString | ( | UInt | _itemID | ) | [pure virtual] |
Implemented in darc::protox::PX_D3D_Parameter< T >, darc::protox::PX_D3D_Parameter< D3DDEVTYPE >, darc::protox::PX_D3D_Parameter< VectorUI2D >, darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT >, darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE >, darc::protox::PX_D3D_Parameter< DWORD >, darc::protox::PX_D3D_Parameter< bool >, darc::protox::PX_D3D_Parameter< UInt >, and darc::protox::PX_D3D_Parameter< D3DFORMAT >.
DC_VALUE darc::protox::PX_D3D_ParameterBase::setLock | ( | Int | _lock | ) |
virtual void darc::protox::PX_D3D_ParameterBase::setMask | ( | UInt | _maskID, |
bool | _b | ||
) | [pure virtual] |
Implemented in darc::protox::PX_D3D_Parameter< T >, darc::protox::PX_D3D_Parameter< D3DDEVTYPE >, darc::protox::PX_D3D_Parameter< VectorUI2D >, darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT >, darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE >, darc::protox::PX_D3D_Parameter< DWORD >, darc::protox::PX_D3D_Parameter< bool >, darc::protox::PX_D3D_Parameter< UInt >, and darc::protox::PX_D3D_Parameter< D3DFORMAT >.
virtual void darc::protox::PX_D3D_ParameterBase::setMask | ( | UInt | _maskID, |
UInt | _itemID, | ||
bool | _b | ||
) | [pure virtual] |
Implemented in darc::protox::PX_D3D_Parameter< T >, darc::protox::PX_D3D_Parameter< D3DDEVTYPE >, darc::protox::PX_D3D_Parameter< VectorUI2D >, darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT >, darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE >, darc::protox::PX_D3D_Parameter< DWORD >, darc::protox::PX_D3D_Parameter< bool >, darc::protox::PX_D3D_Parameter< UInt >, and darc::protox::PX_D3D_Parameter< D3DFORMAT >.
Current lock status.
Int darc::protox::PX_D3D_ParameterBase::m_lock [protected] |
Number of items.
UInt darc::protox::PX_D3D_ParameterBase::m_nItem [protected] |