#include "..\stdafx.h"
#include "common++.h"
#include <d3d9.h>
#include <d3dx9.h>
#include <dxerr.h>
#include <dinput.h>
#include "Gdata.h"
Go to the source code of this file.
Namespaces | |
namespace | jbxwl |
Defines | |
#define | DIRECTINPUT_VERSION DIRECTINPUT_HEADER_VERSION |
#define | CDXRELEASE(d) if((d)!=NULL){while((d)->Release());(d)=NULL;} |
#define | DXRELEASE(d) if((d)!=NULL){(d)->Release();(d)=NULL;} |
#define | DXMAXPRIMITIVE 32768 |
Functions | |
BOOL | Dx9CreateInterface (CWinApp *wapp) |
void | Dx9ReleaseInterface () |
LPDIRECT3DDEVICE9 | Dx9CreateGraphic (LPDIRECT3D9, D3DPRESENT_PARAMETERS *, HWND) |
LPDIRECTINPUTDEVICE8 | Dx9CreateMouse (LPDIRECTINPUT8, HWND) |
LPDIRECTINPUTDEVICE8 | Dx9CreateKeyBoard (LPDIRECTINPUT8, HWND) |
POINT | Dx9GetBackBuffer (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *) |
BOOL | Dx9SurfaceFromMemory (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
BOOL | Dx9TextureFromMemory (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
BOOL | Dx9SurfaceFromByteMemory (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
BOOL | Dx9SurfaceFromMemoryFile (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
BOOL | Dx9TextureFromByteMemory (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
BOOL | Dx9TextureFromMemoryFile (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
HRESULT | Dx9DrawPrimitive (LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT) |
POINT | Dx9GetSurfaceSize (LPDIRECT3DSURFACE9 *lpsf) |
D3DCOLOR | Dx9Word2RGBA (uWord pp) |
D3DCOLOR | Dx9Word2ARGB (uWord pp) |
D3DCOLOR | Dx9Word2RGB (uWord pp) |
Variables | |
LPDIRECT3D9 | GpD3D = NULL |
LPDIRECTINPUT8 | GpDInput = NULL |
LPDIRECTINPUTDEVICE8 | GpDMouse = NULL |
LPDIRECTINPUTDEVICE8 | GpDKeyBoard = NULL |
BOOL | Dx9DividePrimitiveMode = TRUE |
BOOL | Dx9ReverseZMode = FALSE |
#define CDXRELEASE | ( | d | ) | if((d)!=NULL){while((d)->Release());(d)=NULL;} |
#define DIRECTINPUT_VERSION DIRECTINPUT_HEADER_VERSION |
#define DXMAXPRIMITIVE 32768 |
Definition at line 41 of file Dx9.h.
Referenced by jbxwl::Dx9DrawPrimitive().
#define DXRELEASE | ( | d | ) | if((d)!=NULL){(d)->Release();(d)=NULL;} |
Definition at line 39 of file Dx9.h.
Referenced by CDxBaseView::ClearObject(), jbxwl::Dx9CreateInterface(), jbxwl::Dx9ReleaseInterface(), jbxwl::Dx9TextureFromByteMemory(), CDxVScrollView::OnSize(), CDxSRenderView::PrepareVB(), CDxVTXBaseView::ReleaseVB(), and CDxBaseView::~CDxBaseView().