Sign in to follow this  
hervens

deleting a mesh in direct3d

Recommended Posts

Hello, is there a fonction or a way to delete a mesh created with direct3d in run time? Cause the thing is that, im working on this game, and i want the mesh to be deleted when a collision is detected with the ammo. So how am i suppose to do this? Thx

Share this post


Link to post
Share on other sites
Well if you call Release() on the various resources then you should get rid of the resources from memory.

Is that what you really want? Or do you just want to hide it so that it can be displayed again later?

Jack

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