OGRE  1.10.11
Object-Oriented Graphics Rendering Engine
Ogre::D3D11Device Class Reference

#include <OgreD3D11Device.h>

Public Types

enum  eExceptionsErrorLevel {
  D3D_NO_EXCEPTION, D3D_CORRUPTION, D3D_ERROR, D3D_WARNING,
  D3D_INFO
}
 

Public Member Functions

 D3D11Device ()
 
 ~D3D11Device ()
 
bool _getErrorsFromQueue () const
 
void clearStoredErrorMessages () const
 
ID3D11DeviceN * get ()
 
ID3D11ClassLinkage * GetClassLinkage ()
 
LARGE_INTEGER GetDriverVersion ()
 
IDXGIFactoryN * GetDXGIFactory ()
 
String getErrorDescription (const HRESULT hr=NO_ERROR) const
 
ID3D11DeviceContextN * GetImmediateContext ()
 
bool IsDeviceLost ()
 
bool isError () const
 
bool isNull ()
 
ID3D11DeviceN * operator-> () const
 
void ReleaseAll ()
 
void throwIfFailed (HRESULT hr, const char *desc, const char *src)
 
void throwIfFailed (const char *desc, const char *src)
 
void TransferOwnership (ID3D11DeviceN *device)
 

Static Public Member Functions

static const eExceptionsErrorLevel getExceptionsErrorLevel ()
 
static D3D_DRIVER_TYPE parseDriverType (const Ogre::String &value, D3D_DRIVER_TYPE fallback=D3D_DRIVER_TYPE_HARDWARE)
 
static D3D_FEATURE_LEVEL parseFeatureLevel (const Ogre::String &value, D3D_FEATURE_LEVEL fallback)
 
static void setExceptionsErrorLevel (const eExceptionsErrorLevel exceptionsErrorLevel)
 
static void setExceptionsErrorLevel (const Ogre::String &exceptionsErrorLevel)
 

Static Public Attributes

static eExceptionsErrorLevel mExceptionsErrorLevel
 

Member Enumeration Documentation

Enumerator
D3D_NO_EXCEPTION 
D3D_CORRUPTION 
D3D_ERROR 
D3D_WARNING 
D3D_INFO 

Constructor & Destructor Documentation

Ogre::D3D11Device::D3D11Device ( )
Ogre::D3D11Device::~D3D11Device ( )

Member Function Documentation

void Ogre::D3D11Device::ReleaseAll ( )
void Ogre::D3D11Device::TransferOwnership ( ID3D11DeviceN *  device)
bool Ogre::D3D11Device::IsDeviceLost ( )
bool Ogre::D3D11Device::isNull ( void  )
inline
ID3D11DeviceN* Ogre::D3D11Device::get ( void  )
inline
ID3D11DeviceContextN* Ogre::D3D11Device::GetImmediateContext ( )
inline
ID3D11ClassLinkage* Ogre::D3D11Device::GetClassLinkage ( )
inline
IDXGIFactoryN* Ogre::D3D11Device::GetDXGIFactory ( )
inline
LARGE_INTEGER Ogre::D3D11Device::GetDriverVersion ( )
inline
ID3D11DeviceN* Ogre::D3D11Device::operator-> ( ) const
inline
void Ogre::D3D11Device::throwIfFailed ( HRESULT  hr,
const char *  desc,
const char *  src 
)
void Ogre::D3D11Device::throwIfFailed ( const char *  desc,
const char *  src 
)
inline

References throwIfFailed().

Referenced by throwIfFailed().

String Ogre::D3D11Device::getErrorDescription ( const HRESULT  hr = NO_ERROR) const
void Ogre::D3D11Device::clearStoredErrorMessages ( ) const
bool Ogre::D3D11Device::_getErrorsFromQueue ( ) const
bool Ogre::D3D11Device::isError ( ) const
inline
static const eExceptionsErrorLevel Ogre::D3D11Device::getExceptionsErrorLevel ( )
static
static void Ogre::D3D11Device::setExceptionsErrorLevel ( const eExceptionsErrorLevel  exceptionsErrorLevel)
static
static void Ogre::D3D11Device::setExceptionsErrorLevel ( const Ogre::String exceptionsErrorLevel)
static
static D3D_FEATURE_LEVEL Ogre::D3D11Device::parseFeatureLevel ( const Ogre::String value,
D3D_FEATURE_LEVEL  fallback 
)
static
static D3D_DRIVER_TYPE Ogre::D3D11Device::parseDriverType ( const Ogre::String value,
D3D_DRIVER_TYPE  fallback = D3D_DRIVER_TYPE_HARDWARE 
)
static

Member Data Documentation

eExceptionsErrorLevel Ogre::D3D11Device::mExceptionsErrorLevel
static

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