hi guys,
I have a vertexshader-input defined like this:
in the struct the type for the color is specified as float4, which afaik is a float[4]-vector. but in the flexible-vertex-format I've specified a diffuse component which is a uint32-type?!?
D3DFVF_DIFFUSE - DWORD in ARGB order.
what for an type is it really? or is it converted internally by the directx-runtime? when I write to the vertexbuffer I fill the color as a dword.
thanks
I have a vertexshader-input defined like this:
in the struct the type for the color is specified as float4, which afaik is a float[4]-vector. but in the flexible-vertex-format I've specified a diffuse component which is a uint32-type?!?
D3DFVF_DIFFUSE - DWORD in ARGB order.
what for an type is it really? or is it converted internally by the directx-runtime? when I write to the vertexbuffer I fill the color as a dword.
thanks
![:)](https://www.mcshaffry.com/GameCode/wcf/images/smilies/smile.png)