Directx 12 dynamic texture updating

Imebatilisha Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imebatilisha Kulipwa wakati wa kujifungua

I am a new directx programmer. Unfortunately, I am starting by learning directx 12. I am struggling with what should be simple tasks in any other version of directx. The project I am working on requires directx 12, so I must learn how to do things. This bug is an example of one I can't get past at the moment, and I have duplicated it in a sample project from GitHub.

I need to get past a bug when updating a texture dynamically. At the moment, the error I am getting is that a resource has been deleted when attempting the update. I am sure it has to do with the texture I am updating, but I see no way around it since I am replacing it. I am basing my code on the D3D12HelloTexture project in the D3D12HelloWorld solution located on GitHub:

[login to view URL]

For a programmer familiar with directx 12, there should be a simple fix in order to update the texture. The texture should update when pressing the 'M' key down. I will attach the project. Get the full solution at GitHub first, then drop my project into the directory to debug.

C Programming Uprogramu C++ Java

Kitambulisho cha Mradi: #17979591

Kuhusu mradi

Pendekezo 1 Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Wafanyakazi huru 1 wanaweka zabuni ya kadri ya $100 kwenye kazi hii

NewHorizons2016

Hello there, I'ma C++ Win32 engineer with vast experience, and used to work with DX 7-8 related projects, in the real world. What version of Visual Studio are you using please? I will need to take a look at your Zaidi

$100 USD kwa siku 1
(Maoni 26)
5.9