librw icon indicating copy to clipboard operation
librw copied to clipboard

DX11 Port?

Open robante15 opened this issue 2 years ago • 2 comments

How difficult would it be to port to DX11 and possibly DX12? Would it be necessary to rebuild most of the code? Where could one start, or what could be done about it?

robante15 avatar Jul 29 '23 07:07 robante15

It would be some work of course. The src directory has subdirectories for the different platforms. What you have to implement is stuff like context/window creation, rasters (this is annoying), instancing and rendering geometry. The d3d and gl3 subdirectories should give you a good idea of what you have to do.

aap avatar Jul 29 '23 09:07 aap