New answers tagged

0

So, it's dead simple. object->SetConstBuffer(put here first thing); object->UpdateConstantBuffer(); object->DrawFirstOne(); object->SetConstBuffer(here goes second thing); object->UpdateConstantBuffer(exactly the same one, we overwriting); object->DrawSecondOne(); Update is where your Map/Unmap/updateSubresource happen. Nothing needs to be changed in ...


0

I am answering my own question. I trust you are all doing well. This is regarding the SetDisplayMode() method of DirectX. The below method works fine to initialize the Video 1024x768x32. Sorry for the slow reply. The first comment cost me in lost time, I did not find the code to be deprecated. Just a tip if you install the "DirectX Control Panel" you can ...


1

I think there are another two options: Angle, https://github.com/google/angle, or Dawn, https://dawn.googlesource.com/dawn. If your game is written by OpenGL, Angle can help you translate it into several backends, such as Vulkan, D3D. And if you are designing a game from the beginning, you may try writing it by Dawn. Dawn is similar to a middle layer, if ...


Top 50 recent answers are included