JunkBox_Win_Lib 1.5.3
Loading...
Searching...
No Matches
Dx9.h File Reference
#include "..\stdafx.h"
#include "common++.h"
#include <d3d9.h>
#include <d3dx9.h>
#include <dxerr.h>
#include <dinput.h>
#include "Gdata.h"
Include dependency graph for Dx9.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jbxwl
 

Macros

#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
 

Macro Definition Documentation

◆ CDXRELEASE

#define CDXRELEASE ( d)    if((d)!=NULL){while((d)->Release());(d)=NULL;}

Definition at line 38 of file Dx9.h.

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   DIRECTINPUT_HEADER_VERSION

DirectX9 ライブラリ

Definition at line 18 of file Dx9.h.

Referenced by jbxwl::Dx9CreateInterface().

◆ DXMAXPRIMITIVE

#define DXMAXPRIMITIVE   32768

Definition at line 41 of file Dx9.h.

Referenced by jbxwl::Dx9DrawPrimitive().

◆ DXRELEASE