摘要:
看了MS.Press.DirectX.9.Programmable.Graphics.Pipeline这书。开启Shader之路吧。#include <Windows.h>#include <d3dx9.h>#include <MMSystem.h>#define SAFE_RELEASE(p) {if(p){p->Release();p=NULL;}}#define SAFE_DELETE(p) {if(p){delete p;p=NULL;}}#define SAFE_DELETE_ARRAY(p) {if(p){delete [](p);p=NU 阅读全文