Skip to main content
GameDev.net gamedev.net
🔒 Locked

ID3D10InputLayout Release?

Started by brekehan Aug 26, 2008 at 5:38 PM 0 replies 350+ views
Original Post
brekehan
brekehan
Release of the ID3D10InputLayout object is not described in the SDK or shown in its examples. CreateInputLayout takes a pointer as an OUT argument, so I assume it is allocating it somewhere. Maybe it is only released when the device is released? Seems rather odd to me. If I was done with a particular layout, I would expect to be able to release it. Does anyone know how this works?
Demirug
Demirug
Just call Release on the interface that the create method returns.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.