VBGAME-DIRECT3D

坚持并快乐着!——繁星
posts - 15, comments - 15, trackbacks - 0, articles - 1
  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

顶点着色器的定义宏

Posted on 2006-05-13 21:00 繁星 阅读(607) 评论(0)  编辑 收藏 引用

函数

返回值

D3DVSD_REG(D3DVSDE_POSITION, D3DVSDT_FLOAT3 )

1073872896

D3DVSD_REG(D3DVSDE_BLENDWEIGHT, D3DVSDT_FLOAT1 )

1073741825

D3DVSD_REG(D3DVSDE_BLENDINDICES, D3DVSDT_FLOAT1 )

1073741826

D3DVSD_REG(D3DVSDE_NORMAL, D3DVSDT_FLOAT3 )

1073872899

D3DVSD_REG(D3DVSDE_PSIZE, D3DVSDT_FLOAT1 )

1073741828

D3DVSD_REG(D3DVSDE_DIFFUSE, D3DVSDT_D3DCOLOR )

1074003973

D3DVSD_REG(D3DVSDE_SPECULAR, D3DVSDT_D3DCOLOR )

1074003974

D3DVSD_REG(D3DVSDE_TEXCOORD0, D3DVSDT_FLOAT2 )

1073807367

D3DVSD_REG(D3DVSDE_TEXCOORD1, D3DVSDT_FLOAT2 )

1073807368

D3DVSD_REG(D3DVSDE_TEXCOORD2, D3DVSDT_FLOAT2 )

1073807369

D3DVSD_REG(D3DVSDE_TEXCOORD3, D3DVSDT_FLOAT2 )

1073807370

D3DVSD_REG(D3DVSDE_TEXCOORD4, D3DVSDT_FLOAT2 )

1073807371

D3DVSD_REG(D3DVSDE_TEXCOORD5, D3DVSDT_FLOAT2 )

1073807372

D3DVSD_REG(D3DVSDE_TEXCOORD6, D3DVSDT_FLOAT2 )

1073807373

D3DVSD_REG(D3DVSDE_TEXCOORD7, D3DVSDT_FLOAT2 )

1073807374

D3DVSD_REG(D3DVSDE_POSITION2, D3DVSDT_FLOAT3 )

1073872911

D3DVSD_REG(D3DVSDE_NORMAL2, D3DVSDT_FLOAT3)

1073872912

D3DVSD_END()

-1

D3DVSD_STREAM(0)

536870912

D3DVSD_STREAM(1)

536870913

D3DVSD_STREAM(2)

536870914

D3DVSD_STREAM(3)

536870915

.

.

.

 

.

.

.

D3DVSD_STREAM(15)

536870927

只有注册用户登录后才能发表评论。