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 [directx-12]
347 questions
0
votes
1 answer
DIrectX 12 and D3D12CreateDevice fail
I'm trying to run microsoft DirectX12 code samples but in every case the function D3D12CreateDevice fails. I compiled code with Visual Studio 2015 and the WIndows SDK.
I have a GTX560Ti, my driver is 353.62 for Windows 10. On the NVidia panel it's…

Punyama
- 55
- 2
- 6
0
votes
1 answer
Is DirectX 12 development now available to the public?
With Windows Technical Preview build 10074, D3D12.dll, d3d12SDKLayers.dll and d3d12warp.dll are included in %WINDIR%\System32. With Visual Studio 2015 RC with Tools for Windows 10 (aka Windows Kits 10 - 10069), d3d12.lib, d3d12.h etc. are included.…

MuertoExcobito
- 9,741
- 2
- 37
- 78
0
votes
1 answer
Create a Direct3D12 Device fails with E_NoInterface
I'm trying to create a D3D12 device as specified in
https://msdn.microsoft.com/en-us/library/dn899120%28v=vs.85%29.aspx
I have a NVidia 670 gtx, Windows 10 preview build 9926, and last 10041 windows sdk.
I also have latest NVidia beta driver,…

mrvux
- 8,523
- 1
- 27
- 61
-1
votes
1 answer
DirectX 12 Basic Compute Sample
Duplicate
DirectX12 Compute Shader does nothing?
I tried BasicCompute11 sample by Mr.Chuck Walbourn.
https://github.com/walbourn/directx-sdk-samples/tree/main/BasicCompute11
And I'm able to try out other compute functions like simple gaussian…

Zarsr
- 39
- 7
-1
votes
1 answer
D3D12 Textured Cube faces being rendered incorrectly
I am currently working on rendering a row of textured cubes using D3D12, and I have noticed that the front face of the cubes that should be occluded is being rendered and covering the cube. How can I fix this? I want the occluded front faces to not…

DGAF
- 71
- 7
-1
votes
1 answer
How to Create ID3D12VideoDevice correctly?
Microsoft Docs doesn't give the example, I try to obtained from ID3D12Device, But Failed: https://paste.ubuntu.com/p/7c5tKm9YZH/

DGAF
- 71
- 7
-1
votes
1 answer
Why am I unable to use CreateWICTextureFromFileEx after shutting down SDL
I am trying to shutdown my DX12 renderer, and restart it within the same process.
Said application is heavily based on the microsoft MiniEngine example code, now with some modification to allow re-initialisation of global variables. I am using SDL…

mike
- 1,192
- 9
- 32
-1
votes
1 answer
Directx12 and keystrokes
making exercises with DX12.
I want to add the possibility of circling around objects with the w, a, s, d keys. Can anyone point me to a valid resource on this topic ? Or give me a good hint ? In a not too complex language, please. Look at my nick (…

cppstudent
- 23
- 4
-1
votes
1 answer
Is there any difference between double-click the window's title bar and click the window's maximize button?
I find a pretty weird bug while using the imgui dx12 example. When I double-click the window's title bar to maximize the window, the program failed in recreating the command allocator. But click the window's maximize button or resize the window is…
-1
votes
1 answer
How to wrap a video on a monitor?
If I have a video file that defines a video image that is 6144 pixels long (x) by 64 pixels high (y) and I want to display that video so that it wraps at the end of the monitor. In other words I want to display the first 1024 pixels of the video…

Neal Davis
- 648
- 6
- 21
-1
votes
1 answer
D3D12 project: dereferencing a nullptr
I am working with the Microsoft samples from their GitHub page and even though my code is based off theirs I am not reaching the same result.
Both projects have these ComPtrs yet in mine they all are null (0x0000000000000000) while in the sample…

user6244009
- 1
- 1
-2
votes
1 answer
he specified sample count or quality is not supported with the render target format in slot 1
I got this error while adding code to build and render shadows.
D3D12 ERROR: ID3D12Device::CreateGraphicsPipelineState: The specified sample count or quality is not supported with the render target format in slot 1 [ STATE_CREATION ERROR #685:…

yoon-0012
- 3
- 2
-2
votes
1 answer
Could I replace Directx11 with directx 12 by replacing the .dll files and other ones included?
The title says it all. But, are there too many files to be replaced and is there a risk? What I mean is, there are files like d3d11.dll. Could I replace the files with with something like d3d12.dll or something like that?

Lenin
- 1
- 1
-2
votes
1 answer
When I use XM_CALLCONV of DirectMath, Do I have to write that both declarations and definitions?
// declaration in header file
void XM_CALLCONV F(FXMVECTOR vec);
// definition in source file
void XM_CALLCONV F(FXMVECTOR vec) { ... }
Do I have to writh XM_CALLCONV both of them? or just write it once at declareation?

sunkue
- 278
- 1
- 9
-2
votes
2 answers
What is the D3D12 equivalent of Direct3DCreate9(D3D_SDK_VERSION)?
So I am currently coding a D3D12 engine and was wondering what the D3D12 equivalent of this D3D9 function is ?
direct3D = Direct3DCreate9(D3D_SDK_VERSION);

Arjan Singh
- 169
- 3
- 11