Re: d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. (try 2)
9 Sep
2010
9 Sep
'10
4:37 a.m.
On 9 September 2010 02:40, Misha Koshelev <misha680(a)gmail.com> wrote:
+ while (count < MAX_FVF_DECL_SIZE && (count == 0 || declaration[count-1].Stream != 0xFF)) + { + count++; + } + if (count > 1) + { + vertex_size = declaration[count-2].Offset + d3dx_decltype_size[declaration[count-2].Type]; + }
You may want to consider using D3DXGetDeclVertexSize() there.
5577
Age (days ago)
5577
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet