DirectX 12 introduces the next version of Direct3D, the 3D graphics API at the heart of DirectX. This version of Direct3D is faster and more efficient than any previous version. Direct3D 12 enables richer scenes, more objects, more complex effects, and full utilization of modern GPU hardware. It is supported on Windows 10 and Xbox One.
Questions tagged [direct3d12]
79 questions
0
votes
1 answer
How to create a texture from a bitmap file?
Can you please help me in finding the equivalent DX12 API/sample code by which I could load a bitmap and create a texture ?
For DX11 it is D3DX11CreateShaderResourceViewFromFile and for DX9 it is D3DXCreateTextureFromFileEx

Tony Issac
- 29
- 3
0
votes
0 answers
ID3D12GraphicsCommandList::Close() returns E_INVALIDARG
I'm following the Rastertek Tutorials on Direct3D12, which can be found here.
I've double-checked to make sure all my code is the same as his, but I'm running into issues with the Command List. When I close the command list after just clearing the…

NmdMystery
- 2,778
- 3
- 32
- 60
-1
votes
1 answer
Direct3D with sRGB - Gamma Corrected Colors
I'm coming from a Direct3D 9 background, and recently switched my custom game engine over to Direct3D12. After some research, it looked like using one of the *_SRGB formats was the way to go, because it corrected the gamma level.
Immediately, I…

Robert
- 413
- 4
- 12
-1
votes
1 answer
"D3D12 CORRUPTION: ID3D12CommandList::CopyResource: pDstResource is corrupt." How did I corrupt my Shader Resource View's buffer?
The calling code corresponding to the error in the title is:
this->directCommandList.Get()->CopyResource(
this->srvBuffer.Get(),
this->stagingWriteBuffer.Get());
srvBuffer is a smart pointer to an ID3D12Resource. My first real interaction…

MNagy
- 423
- 7
- 20