Original Post
Hi all!
Should I prefer this
D3DVSD_STREAM(0),
D3DVSD_REG( D3DVSDE_POSITION, D3DVSDT_FLOAT3 ),
D3DVSD_REG( D3DVSDE_NORMAL, D3DVSDT_FLOAT3 ),
D3DVSD_REG( D3DVSDE_TEXCOORD0, D3DVSDT_FLOAT2 ),
D3DVSD_END()
to this
D3DVSD_STREAM(0),
D3DVSD_REG( 0, D3DVSDT_FLOAT3 ),
D3DVSD_REG( 1, D3DVSDT_FLOAT3 ),
D3DVSD_REG( 2, D3DVSDT_FLOAT2 ),
D3DVSD_END()
I use the second with my vertexshader. Why there are those D3DVSDE_*? Is there any compatibility problems if I don''t use them? Or are they just some default alternate?