python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
direct3d 11 and 2D: pass coordinates of a vertex as int and not float
My purpose is to write a backend of a toolkit using only Direct3D 11 for 2D (no additional library like Direct2D, or SpriteBatch or something else).
Note that it is the first time I use Direct3D, and ...
vtorri
Votes: 0
Answers: 1
Direct3D11 depth test LESS_EQUAL not working as expected
How is it possible that a fragment is generated, passes the depth test but isn't written to the current render target?
This is the pixel history I see if I capture a frame in RenderDoc:
The fragment ...
leone ruggiero
Votes: 0
Answers: 0
Why the ID3D11DeviceContext::map() function didn't work and return E_INVALIDAGR (one or more argument are invalid)
When I want to use DXGI Duplication API to take screenshots, the deviceContext->map() always failed. It returns E_INVALIDAGR (one or more arguments are invalid). However, I don't think there are an...
ton197
Votes: 0
Answers: 1
Does ID3D11DeviceContext::DrawIndexed() have UB if I use 16 bit Indices with an Offset?
ID3D11DeviceContext::DrawIndexed() has a parameter StartIndexLocation, which adds a value to each Index when drawing.
What happens if I use 16 bit Indices ?
The highest value 16 bit can represent is 6...
Raildex
Votes: 0
Answers: 1