Changing the color of a mesh vertex in Managed DirectX 9.0c

  • Thread starter Thread starter DF
  • Start date Start date
D

DF

I just want to change the color of the vertex (the face if possible) of a
vertex in a mesh sphere. I can see lots of examples in C# but not in Visual
Basic.

The problem I run into occurs when the lock returns a graphics stream.

vb = LifeWorld.LockVertexBuffer(DX3D.LockFlags.None)

I want

DX3D.CustomVertex.PositionNormalColored()

Can anyone help?

Thanks,

Darryl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top