Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


How dop i access the vertexbuffer that D3DXCreateMeshFVF creates?

This topic is 5323 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I cant figure out how to use DrawIndexedPrimitive because it asks for a pointer to a vertex buffer, but i dont have a pointer to one becuase i am calling D3DXCreateMeshFVF. It also seems that if i use CreateVertexBuffer i cant fill and acess the index data because using that function requres a pointer to a D3DXMESH object. Anyone help me?

Share this post

Link to post
Share on other sites
ID3DXMesh :: GetVertexBuffer()
ID3DXMesh :: GetIndexBuffer()

You could also use ID3DXMesh :: DrawSubSet() to render


[edited by - neneboricua19 on March 27, 2004 6:23:06 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!