OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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
 
ID3D11DeviceNget ()
 
ID3D11ClassLinkageGetClassLinkage ()
 
LARGE_INTEGER GetDriverVersion ()
 
IDXGIFactoryNGetDXGIFactory ()
 
String getErrorDescription (const HRESULT hr=NO_ERROR) const
 
ID3D11DeviceContextNGetImmediateContext ()
 
bool IsDeviceLost ()
 
bool isError () const
 
bool isNull ()
 
ID3D11DeviceNoperator-> () const
 
void ReleaseAll ()
 
void throwIfFailed (const char *desc, const char *src)
 
void throwIfFailed (HRESULT hr, 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

◆ eExceptionsErrorLevel

Enumerator
D3D_NO_EXCEPTION 
D3D_CORRUPTION 
D3D_ERROR 
D3D_WARNING 
D3D_INFO 

Constructor & Destructor Documentation

◆ D3D11Device()

Ogre::D3D11Device::D3D11Device ( )

◆ ~D3D11Device()

Ogre::D3D11Device::~D3D11Device ( )

Member Function Documentation

◆ _getErrorsFromQueue()

bool Ogre::D3D11Device::_getErrorsFromQueue ( ) const

◆ clearStoredErrorMessages()

void Ogre::D3D11Device::clearStoredErrorMessages ( ) const

◆ get()

ID3D11DeviceN * Ogre::D3D11Device::get ( )
inline

◆ GetClassLinkage()

ID3D11ClassLinkage * Ogre::D3D11Device::GetClassLinkage ( )
inline

◆ GetDriverVersion()

LARGE_INTEGER Ogre::D3D11Device::GetDriverVersion ( )
inline

◆ GetDXGIFactory()

IDXGIFactoryN * Ogre::D3D11Device::GetDXGIFactory ( )
inline

◆ getErrorDescription()

String Ogre::D3D11Device::getErrorDescription ( const HRESULT  hr = NO_ERROR) const

◆ getExceptionsErrorLevel()

static const eExceptionsErrorLevel Ogre::D3D11Device::getExceptionsErrorLevel ( )
static

◆ GetImmediateContext()

ID3D11DeviceContextN * Ogre::D3D11Device::GetImmediateContext ( )
inline

◆ IsDeviceLost()

bool Ogre::D3D11Device::IsDeviceLost ( )

◆ isError()

bool Ogre::D3D11Device::isError ( ) const
inline

◆ isNull()

bool Ogre::D3D11Device::isNull ( )
inline

◆ operator->()

ID3D11DeviceN * Ogre::D3D11Device::operator-> ( ) const
inline

◆ parseDriverType()

static D3D_DRIVER_TYPE Ogre::D3D11Device::parseDriverType ( const Ogre::String value,
D3D_DRIVER_TYPE  fallback = D3D_DRIVER_TYPE_HARDWARE 
)
static

◆ parseFeatureLevel()

static D3D_FEATURE_LEVEL Ogre::D3D11Device::parseFeatureLevel ( const Ogre::String value,
D3D_FEATURE_LEVEL  fallback 
)
static

◆ ReleaseAll()

void Ogre::D3D11Device::ReleaseAll ( )

◆ setExceptionsErrorLevel() [1/2]

static void Ogre::D3D11Device::setExceptionsErrorLevel ( const eExceptionsErrorLevel  exceptionsErrorLevel)
static

◆ setExceptionsErrorLevel() [2/2]

static void Ogre::D3D11Device::setExceptionsErrorLevel ( const Ogre::String exceptionsErrorLevel)
static

◆ throwIfFailed() [1/2]

void Ogre::D3D11Device::throwIfFailed ( const char desc,
const char src 
)
inline

References throwIfFailed().

Referenced by throwIfFailed().

◆ throwIfFailed() [2/2]

void Ogre::D3D11Device::throwIfFailed ( HRESULT  hr,
const char desc,
const char src 
)

◆ TransferOwnership()

void Ogre::D3D11Device::TransferOwnership ( ID3D11DeviceN device)

Member Data Documentation

◆ mExceptionsErrorLevel

eExceptionsErrorLevel Ogre::D3D11Device::mExceptionsErrorLevel
static

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