Sign in to follow this  
jor1980

mesh.Options.Value in SlimDx

Recommended Posts

jor1980    152
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
jpetrie    13159
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

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