About 1,170,000 results
Open links in new tab
  1. How to Render To Texture in DirectX12 & C++? What is the process?

    May 15, 2021 · I have been trying to figure out how to render the entire scene to a texture in DX12. I know how to do this in OpenGL, but I'm having trouble figuring it out in DirectX12. …

  2. The proper way to create a DirectX12 texture - Stack Overflow

    Apr 13, 2023 · The bug here is that you are assuming the row pitch of the texture resource Is the same as your source image. That's not necessarily true. You need to copy row-by-row and …

  3. How can I create a swapchain compatible with direct3d12?

    Dec 21, 2024 · 2 I tried to create a swapchain for d3d12 and learned that you can't use the same function for d3d11 but even the right ones aren't working for me.

  4. How to get data from ID3D12Resource data from gpu to cpu buffer?

    Nov 28, 2024 · I want to get cpu-readable buffer from D3D12 texture (dimension is D3D12_RESOURCE_DIMENSION_TEXTURE2D which can not directly accessed by cpu). So …

  5. directx - How can I use (resource) barriers to sync access to a ...

    Feb 23, 2024 · Transition tex from D3D12_RESOURCE_STATE_UNORDERED_ACCESS to D3D12_RESOURCE_STATE_COPY_SOURCE Currently I'm waiting for the GPU to be …

  6. DirectX 12 Ultimate graphics sample generates a D3D12 "CBV …

    Jun 9, 2022 · Without having delved into the sample's project configuration in detail, it's possible that D3D12 debug layer errors are being dealt with differently, but that's purely speculative.

  7. D3D12: Can we really not have a 1-dimensional buffer/texture of …

    Feb 20, 2024 · D3D12: Can we really not have a 1-dimensional buffer/texture of size > 25000? Asked 1 year, 10 months ago Modified 1 year, 10 months ago Viewed 655 times

  8. c++ - d3dx12.h gives a bunch of errors - Stack Overflow

    Dec 14, 2020 · I linked the d3d12.lib in Debug->Options->Linker->Input. Unfortunately, it gives me a bunch of errors from d3dx12.h. For most of them, Intellisense says to include d3d12.h even …

  9. 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 …

  10. windows - 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 …