OPTPiX SpriteStudio SDK
Loading...
Searching...
No Matches
d3dsimple.h File Reference
#include <d3d9.h>
#include <vector>
#include <string>
Include dependency graph for d3dsimple.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IDirectDrawResourceManager
 
class  CDirectDrawSimple
 

Macros

#define RELEASE(o)
 
#define PI   (3.1415926f)
 π
 
#define DEGtoRAD(deg)
 デグリーからラジアンへ
 
#define RADtoDEG(rad)
 ラジアンからデグリーへ
 
#define SAFE_DELETE(p)
 メモリを解放
 
#define SAFE_DELETE_ARRAY(p)
 配列でとったメモリを解放
 
#define SAFE_RELEASE(p)
 DXオブジェクトを解放
 

Typedefs

typedef void(* CDirectDrawCALLBACK) ()
 

Macro Definition Documentation

◆ DEGtoRAD

#define DEGtoRAD ( deg)
Value:
((float)deg * 0.017453292f)

デグリーからラジアンへ

◆ PI

#define PI   (3.1415926f)

π

◆ RADtoDEG

#define RADtoDEG ( rad)
Value:
((float)rad * 57.29578049f)

ラジアンからデグリーへ

◆ RELEASE

#define RELEASE ( o)
Value:
if (o){o->Release();o=NULL;}

◆ SAFE_DELETE

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

メモリを解放

◆ SAFE_DELETE_ARRAY

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

配列でとったメモリを解放

◆ SAFE_RELEASE

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

DXオブジェクトを解放

Typedef Documentation

◆ CDirectDrawCALLBACK

typedef void(* CDirectDrawCALLBACK) ()