
How to Render To Texture in DirectX12 & C++? What is the process?
May 15, 2021 · Here we've scheduled the transition to render target resource state, populated all the draw calls, and then inserted a barrier back to the pixel shader resource state. At that point, you can …
How to compile HLSL 6.0 at runtime? - Stack Overflow
Dec 25, 2024 · I am currently learning D3D12 and decided to change from using HLSL 5.0 to 6.0 to be able to use dynamic indexing. The problem is that D3DCompile and D3DCompile2 seen to only …
How to create a view for a Structured Buffer under DirectX 12?
Oct 2, 2023 · I am trying to implement instancing inside my DirectX 12 renderer. To do so I want to use a structured buffer that store each instance transformation. Here how it is declared in my vertex …
New to Direct3D programming: 11 vs 12 - Stack Overflow
Nov 29, 2015 · For a newbie in D3D programming, should one just learn D3D12 directly or is D3D11 necessary before diving into D3D12? Assuming starting from scratch and decent knowledge of C++, …
Use D3D12 texture as D2D render target causes validation error
Mar 14, 2025 · I have D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS and D3D12_HEAP_FLAG_SHARED set as described in Sharing ID3D11Buffer and ID3D12Resource. …
Direct3D virtual GPU address - Stack Overflow
Jun 26, 2019 · For D3D12_HEAP_TYPE_DEFAULT, the memory is only accessible to the GPU so there's not really a CPU address. The GPU can directly read D3D12_HEAP_TYPE_UPLOAD …
c++ - How to draw a sphere in DirectX 12? - Stack Overflow
May 25, 2025 · I want to draw spheres in my DirectX 12 application. I only support vertex and pixel shaders for now. The idea is to generate a vertex and an index buffer to draw the sphere. The …
DirectX debug layer dll version mismatch - Stack Overflow
Oct 19, 2025 · The d3d12SDKLayer.dll DLL has two paths for getting on your system: The primary method is to enable the "Graphics Tools" Windows Feature. See the first part of this article. For PCs …
directx-12 - How to use commandlist with multiple descriptor heaps?
Aug 20, 2015 · Currently going through microsofts examples, it is noticable, that only one cbv_srv_uav heap is used per commandlist (+ maybe on additional sampler heap). Is it possible to use multiple …
Is it possible to make a D3D12 application in C? - Stack Overflow
Apr 22, 2024 · While only C++ is officially supported, most headers are written in C so it should be possible to make an app. Due to lack of documentation, it will be harder than using C++, but not …