Sign in to follow this  
johnnyBravo

Is it ok to modify a single vertex inside the vb?

Recommended Posts

Hi, say I've got a vertex buffer filled with 10 vertices. And I want to change the position of vertex 5(index). Would it be fine to just put in a single vertex like so: vb->Lock(sizeof(Vertex)*5, sizeof(Vertex), .., ..); ? Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this