Original Post
Hi. My working environment is DX8 and VB6. The documentation on D3DVertexBufferSetData (D3DX) looks basically like this:
D3DVertexBuffer8SetData( _
VBuffer As Direct3DVertexBuffer8, _
Offset As Long, _
Size As Long, _
Flags As Long, _
Data As Any) As Long
The SDK makes absolutely no mention of how this method is used, so here''s what I''m assuming: I can pass an array of any data type (hence the keyword "Any") and specify how many bytes I want copied in the Size parameter. D3DX will then copy that number of bytes into my vertex buffer at the given offset. Is this correct?
Thanks for your help.