• Advertisement
Sign in to follow this  

How can I locate a live object (undisposed resource)

This topic is 1775 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

Advertisement

Give all objects a name and use that to track down the object.

INLINE void DX11_SetDebugName(ID3D11DeviceChild* ptr, const char* name)
{
	if ( ptr )
	{
		ptr->SetPrivateData(WKPDID_D3DDebugObjectName, strlen(name), name);
	}
}

Share this post


Link to post
Share on other sites

Looking at graphics diagnostics, there are 10 buffers :

 

  Terrain.cBuffer

  Chunk.IndexBuffer

  Chunk.VertexBuffer

  Chunk.VertexBuffer

  Chunk.VertexBuffer

  Chunk.VertexBuffer

  D2D Internal : General Vertex Buffer

  D2D Internal : Matrix Constant Buffer

  D2D Internal : Pixel Shader Constant Buffer

  D2D Internal : General Constant Buffer

 

The chunk and terrain buffer disposal calls are being reached, I've checked using debug output.

Share this post


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

  • Advertisement