Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cDX9.h
Go to the documentation of this file.
1
//
4
//
5
6
#ifndef _INC_cDX9_H
7
#define _INC_cDX9_H
8
#ifndef NO_PRAGMA_ONCE
9
#pragma once
10
#endif
11
12
#include "
cDXBase.h
"
13
#include "
GrayCore/include/cString.h
"
14
#include "
GrayCore/include/cSingleton.h
"
15
16
#ifdef USE_DX9
17
18
#ifndef MAKE_D3DHRESULT
19
#define MAKE_D3DHRESULT(x) (0x88760000|(x))
20
#endif
21
22
namespace
Gray3D
23
{
24
class
GRAY3D_LINK
cDX9 :
public
cIUnkPtr<IDirect3D9>,
public
cSingletonStatic<cDX9>
25
{
32
public
:
33
static
const
HResultCode k_Codes[];
34
public
:
35
cDX9() noexcept;
36
~cDX9();
37
bool
InitDX9();
38
};
39
40
extern cDX9
GRAY3D_LINK
g_DX9;
// cSingletonStatic ???
41
}
42
#endif
43
44
#endif
// _INC_cDX9_H
GRAY3D_LINK
#define GRAY3D_LINK
Definition:
Gray3D.h:15
cDXBase.h
cSingleton.h
cString.h
Gray3D
Definition:
Gray3D.cpp:12
Gray3D
include
DX
cDX9.h
Generated on Tue Feb 2 2021 11:29:19 for Gray C++ Libraries by
1.9.1