devkitPro / deko3d

Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
zlib License
323 stars 23 forks source link

Add support for line and polygon stipples #5

Closed ReinUsesLisp closed 4 years ago

ReinUsesLisp commented 4 years ago

Add support for polygon stipples and line stipples, adding dkCmdBufSetPolygonStipple and dkCmdBufSetLineStipple respectively.

Line stipples look like this: imagen

fincs commented 4 years ago

Primer should probably be updated too (Rasterization), in order to mention stipple, add the new functions to the list and link to relevant GL/VK docs.