source: GTP/trunk/App/Demos/Illum/Standalone/Glow [DirectX]/QuadRendering.h @ 846

Revision 846, 509 bytes checked in by szirmay, 19 years ago (diff)
Line 
1#pragma once
2
3//#include "DXUT.h"
4
5//struct to define vertex for the FVF
6
7typedef struct D3DVERTEX_1
8{
9float   fX,
10                fY,
11                fZ,
12                fW;
13float   fU,
14                fV;
15public:
16        D3DVERTEX_1(){
17
18        }
19        D3DVERTEX_1(float       fX,float        fY,float        fZ,float fW, float      fU, float       fV)
20        {
21                this->fX=fX;
22                this->fY=fY;
23                this->fZ=fZ;
24                this->fW=fW;
25                this->fU=fU;
26                this->fV=fV;
27
28        }
29} D3DVERTEX_1;
30
31//Flexible vertex format define
32
33#define D3DFVF_CUSTOMVERTEX     (D3DFVF_XYZW | D3DFVF_TEX0 |D3DFVF_TEXCOORDSIZE2(0))
34
35
Note: See TracBrowser for help on using the repository browser.