XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

ID3D10InputLayout Release?

Last post 08-27-2008 5:24 PM by Ralf Kornmann. 1 replies.
  • 08-26-2008 10:47 PM

    ID3D10InputLayout Release?

    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?
  • 08-27-2008 5:24 PM In reply to

    Re: ID3D10InputLayout Release?

    As any Direct3D 10 interface ID3D10InputLayout inherits from IUnknown. Therefore you need to call Release if you don’t longer need it.

Page 1 of 1 (2 items) Previous Next