OGRE  13.5
Object-Oriented Graphics Rendering Engine
OgreD3D11Prerequisites.h File Reference
#include "OgrePrerequisites.h"
#include "OgreComPtr.h"
#include "OgreException.h"
#include <d3d11.h>
#include <d3d11shader.h>
#include <d3dcompiler.h>
#include <sstream>

Classes

class  Ogre::D3D11RenderingAPIException
 

Namespaces

 Ogre
 

Macros

#define _OgreD3D11Export
 
#define NOMINMAX
 
#define OGRE_CHECK_DX_ERROR(dxcall)
 
#define OGRE_EXCEPT_EX(code, num, desc, src)   throw Ogre::D3D11RenderingAPIException(num, desc, src, __FILE__, __LINE__)
 
#define SAFE_DELETE(p)   { if(p) { delete (p); (p)=NULL; } }
 
#define SAFE_DELETE_ARRAY(p)   { if(p) { delete[] (p); (p)=NULL; } }
 
#define SAFE_RELEASE(p)   { if(p) { (p)->Release(); (p)=NULL; } }
 

Typedefs

typedef SharedPtr< D3D11HLSLProgram > Ogre::D3D11HLSLProgramPtr
 
typedef SharedPtr< D3D11Texture > Ogre::D3D11TexturePtr
 

Macro Definition Documentation

◆ OGRE_EXCEPT_EX

#define OGRE_EXCEPT_EX (   code,
  num,
  desc,
  src 
)    throw Ogre::D3D11RenderingAPIException(num, desc, src, __FILE__, __LINE__)

◆ OGRE_CHECK_DX_ERROR

#define OGRE_CHECK_DX_ERROR (   dxcall)
Value:
{ \
HRESULT hr = dxcall; \
if (FAILED(hr) || mDevice.isError()) \
{ \
String desc = mDevice.getErrorDescription(hr); \
throw Ogre::D3D11RenderingAPIException(hr, desc, __FUNCTION__, __FILE__, __LINE__); \
} \
}
Definition: OgreD3D11Prerequisites.h:145

◆ SAFE_DELETE

#define SAFE_DELETE (   p)    { if(p) { delete (p); (p)=NULL; } }

◆ SAFE_DELETE_ARRAY

#define SAFE_DELETE_ARRAY (   p)    { if(p) { delete[] (p); (p)=NULL; } }

◆ SAFE_RELEASE

#define SAFE_RELEASE (   p)    { if(p) { (p)->Release(); (p)=NULL; } }

◆ NOMINMAX

#define NOMINMAX

◆ _OgreD3D11Export

#define _OgreD3D11Export