Jump to content
  • Advertisement
Sign in to follow this  
jor1980

[SlimDx]meshfromfile

This topic is 3021 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 i am wondering if this lines in writed in directx are the same that the other ones writed with slimdx: directX Dim materialarray As ExtendedMaterial() mesh = Mesh.FromFile(filename, MeshFlags.Managed, device, materialarray) Slimdx mesh = mesh.FromFile(Device, filename, MeshFlags.Managed) materialarray = mesh.GetMaterials() or in Slimdx is not necessary to save the materiales into an extendedmaterial array?

Share this post


Link to post
Share on other sites
Advertisement
I would guess that you only need to extract the materials if your application needs the materials.

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!