Jump to content
  • Advertisement
Sign in to follow this  
chuckeey

[SlimDX] VertexBuffer starts with DeclarationEnd

This topic is 2553 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

Hi Guys,

I have a strange Problem. I have restructured a small Game Project in order to increase the performance. And now i have some problems with the VertexBuffer.

Before

and

After

As you can see, after the restructurisation the Vertex Buffer is somehow deferred. Before the restructurisation the Buffer starts with the first Vector3 (0,0,0) and after it starts with the DeclarationEnd value.

The initialization of the VertexBuffers before and after are exactly the same. Only the Order in the Buffer itselfs seems to differ.

ATM i have no idea how i can make changes in the order of the vertizes. Does anybody have an Idea what the reason for this strange behaviour is ?


Thanks !

Greetz chuckeey

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!