|
raSystem
1.0 bata
|
#include "d3dx11dbg.h"Go to the source code of this file.
Classes | |
| class | D3DX11Core::CMemoryStream |
| class | CEffectVector< T > |
| class | CEffectVectorOwner< T > |
| class | CheckedNumber< T, MaxValue > |
| class | CDataBlock |
| class | CDataBlockStore |
| class | CEffectHashTable< T, pfnIsEqual > |
| struct | CEffectHashTable< T, pfnIsEqual >::SHashEntry |
| class | CEffectHashTable< T, pfnIsEqual >::CIterator |
| class | CEffectHashTableWithPrivateHeap< T, pfnIsEqual > |
Namespaces | |
| D3DX11Debug | |
| D3DX11Core | |
Macros | |
| #define | SAFE_RELEASE(p) { if (p) { (p)->Release(); (p) = NULL; } } |
| #define | SAFE_ADDREF(p) { if (p) { (p)->AddRef(); } } |
| #define | SAFE_DELETE_ARRAY(p) { delete [](p); p = NULL; } |
| #define | SAFE_DELETE(p) { delete (p); p = NULL; } |
| #define | __BREAK_ON_FAIL |
| #define | VA(x, action) { hr = (x); if (FAILED(hr)) { action; __BREAK_ON_FAIL; return hr; } } |
| #define | VNA(x, action) { if (!(x)) { action; __BREAK_ON_FAIL; hr = E_OUTOFMEMORY; goto lExit; } } |
| #define | VBA(x, action) { if (!(x)) { action; __BREAK_ON_FAIL; hr = E_FAIL; goto lExit; } } |
| #define | VHA(x, action) { hr = (x); if (FAILED(hr)) { action; __BREAK_ON_FAIL; goto lExit; } } |
| #define | V(x) { VA (x, 0) } |
| #define | VN(x) { VNA(x, 0) } |
| #define | VB(x) { VBA(x, 0) } |
| #define | VH(x) { VHA(x, 0) } |
| #define | VBD(x, str) { VBA(x, DPF(1,str)) } |
| #define | VHD(x, str) { VHA(x, DPF(1,str)) } |
| #define | VEASSERT(x) { hr = (x); if (FAILED(hr)) { __BREAK_ON_FAIL; D3DXASSERT(!#x); goto lExit; } } |
| #define | VNASSERT(x) { if (!(x)) { __BREAK_ON_FAIL; D3DXASSERT(!#x); hr = E_OUTOFMEMORY; goto lExit; } } |
| #define | ANALYSIS_ASSUME(x) { D3DXASSERT(x); __analysis_assume(x); __assume(x); } |
| #define | D3DX11FLTASSIGN(a, b) { *reinterpret_cast< UINT32* >(&(a)) = *reinterpret_cast< UINT32* >(&(b)); } |
| #define | HASH_MIX(a, b, c) |
Typedefs | |
| typedef CheckedNumber< UINT, _UI32_MAX > | CCheckedDword |
| typedef CheckedNumber< DWORD64, _UI64_MAX > | CCheckedDword64 |
Functions | |
| D3DX11INLINE UINT | AlignToPowerOf2 (UINT Value, UINT Alignment) |
| D3DX11INLINE void * | AlignToPowerOf2 (void *pValue, UINT_PTR Alignment) |
| D3DX11INLINE void | dwordMemcpy (__out_bcount(uByteCount) void *__restrict pDest, __in_bcount(uByteCount) CONST void *__restrict pSource, UINT uByteCount) |
| #define __BREAK_ON_FAIL |
Definition at line 31 of file d3dxGlobal.h.
| #define ANALYSIS_ASSUME | ( | x | ) | { D3DXASSERT(x); __analysis_assume(x); __assume(x); } |
Definition at line 50 of file d3dxGlobal.h.
| #define D3DX11FLTASSIGN | ( | a, | |
| b | |||
| ) | { *reinterpret_cast< UINT32* >(&(a)) = *reinterpret_cast< UINT32* >(&(b)); } |
Definition at line 52 of file d3dxGlobal.h.
| #define HASH_MIX | ( | a, | |
| b, | |||
| c | |||
| ) |
Definition at line 682 of file d3dxGlobal.h.
| #define SAFE_ADDREF | ( | p | ) | { if (p) { (p)->AddRef(); } } |
Definition at line 23 of file d3dxGlobal.h.
| #define SAFE_DELETE | ( | p | ) | { delete (p); p = NULL; } |
Definition at line 26 of file d3dxGlobal.h.
| #define SAFE_DELETE_ARRAY | ( | p | ) | { delete [](p); p = NULL; } |
Definition at line 25 of file d3dxGlobal.h.
| #define SAFE_RELEASE | ( | p | ) | { if (p) { (p)->Release(); (p) = NULL; } } |
Definition at line 22 of file d3dxGlobal.h.
| #define V | ( | x | ) | { VA (x, 0) } |
Definition at line 39 of file d3dxGlobal.h.
| #define VA | ( | x, | |
| action | |||
| ) | { hr = (x); if (FAILED(hr)) { action; __BREAK_ON_FAIL; return hr; } } |
Definition at line 34 of file d3dxGlobal.h.
| #define VB | ( | x | ) | { VBA(x, 0) } |
Definition at line 41 of file d3dxGlobal.h.
| #define VBA | ( | x, | |
| action | |||
| ) | { if (!(x)) { action; __BREAK_ON_FAIL; hr = E_FAIL; goto lExit; } } |
Definition at line 36 of file d3dxGlobal.h.
Definition at line 44 of file d3dxGlobal.h.
| #define VEASSERT | ( | x | ) | { hr = (x); if (FAILED(hr)) { __BREAK_ON_FAIL; D3DXASSERT(!#x); goto lExit; } } |
Definition at line 47 of file d3dxGlobal.h.
| #define VH | ( | x | ) | { VHA(x, 0) } |
Definition at line 42 of file d3dxGlobal.h.
| #define VHA | ( | x, | |
| action | |||
| ) | { hr = (x); if (FAILED(hr)) { action; __BREAK_ON_FAIL; goto lExit; } } |
Definition at line 37 of file d3dxGlobal.h.
Definition at line 45 of file d3dxGlobal.h.
| #define VN | ( | x | ) | { VNA(x, 0) } |
Definition at line 40 of file d3dxGlobal.h.
| #define VNA | ( | x, | |
| action | |||
| ) | { if (!(x)) { action; __BREAK_ON_FAIL; hr = E_OUTOFMEMORY; goto lExit; } } |
Definition at line 35 of file d3dxGlobal.h.
| #define VNASSERT | ( | x | ) | { if (!(x)) { __BREAK_ON_FAIL; D3DXASSERT(!#x); hr = E_OUTOFMEMORY; goto lExit; } } |
Definition at line 48 of file d3dxGlobal.h.
| typedef CheckedNumber<UINT, _UI32_MAX> CCheckedDword |
Definition at line 603 of file d3dxGlobal.h.
| typedef CheckedNumber<DWORD64, _UI64_MAX> CCheckedDword64 |
Definition at line 604 of file d3dxGlobal.h.
| D3DX11INLINE UINT AlignToPowerOf2 | ( | UINT | Value, |
| UINT | Alignment | ||
| ) |
Definition at line 57 of file d3dxGlobal.h.
Definition at line 65 of file d3dxGlobal.h.
| D3DX11INLINE void dwordMemcpy | ( | __out_bcount(uByteCount) void *__restrict | pDest, |
| __in_bcount(uByteCount) CONST void *__restrict | pSource, | ||
| UINT | uByteCount | ||
| ) |
Definition at line 74 of file d3dxGlobal.h.