• Advertisement
Sign in to follow this  

mesh.Options.Value in SlimDx

This topic is 2902 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 would like to know what mesh.Options.Value flag does and which would be their equivalent in SlimDx because i need to translate this line to slimdx: mesh = mesh.Clone(mesh.Options.Value, CustomVertex.PositionNormalTextured.Format, device)

Share this post


Link to post
Share on other sites
Advertisement
If you took some time to read the documentation, you'd discover that "Value" is a property on the MDX MeshOptions type that returns a MeshFlags value representing the mesh options.

That might lead you to look for similar classes in SlimDX, where you might discover the various mesh-related enumerations starting here.

You might then be able to examine the SlimDX Mesh classes parent class, BaseMesh, to see how you could get the creation options and call the clone method.

Share this post


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

  • Advertisement