我在使用DirectX12.0编程时偶然发现了一个相当不寻常的问题。到目前为止,还没有任何研究具有洞察力。我正在使用C(不是C++)编程。看起来官方的DirectX12header支持C和C++的绑定(bind),但是编写C等效代码来执行所述任务会导致崩溃,而C++不会。我不认为错误是我的。详细信息如下:我的D3D12设备初始化过程中有以下代码块:/*Getahandletothememorylocationintherendertargetviewheaptoidentifywheretherendertargetviewswillbelocatedforthetwobackbuff