Re: d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods. (try 2)
Sept. 9, 2010
9: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.
5678
Age (days ago)
5678
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet