SDL_HINT_REN...RECT3D11_WARP(3)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

SDL_HINT_RENDER_DIRECT3D11_WARP β€” bestie, this is the variable that decides whether you're using the Direct3D 11 WARP software rasterizer or not. πŸ‘‘


✨ SYNOPSIS ✨

#include <SDL3/SDL_hints.h>

#define SDL_HINT_RENDER_DIRECT3D11_WARP "SDL_RENDER_DIRECT3D11_WARP"

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, if you want the deep lore, the actual official tea is over here:

https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp

That's literally the whole Microsoft explainer, no cap. 🫢

Now the variable itself can be set to these two values, and it's giving very binary:

  • "0" β€” Disable the WARP rasterizer. This is the default, so if you say nothing, you get this. πŸ™ˆ
  • "1" β€” Enable the WARP rasterizer. Software rendering era, let's go. πŸ”₯
⚠️ important bestie: this hint should be set before creating a renderer. Set it after and it's not gonna do the thing, iykyk. 😭

🌈 AVAILABILITY 🌈

This hint has been available since SDL 3.4.0. She's new-ish, she's iconic, she's here. πŸ’…


and that's the whole page, bestie β€” straight out of the Simple Directmedia Layer crew, SDL 3.4.18 edition. mwah, go set your hints early πŸŽ€βœ¨

πŸ“¦ where this page comes from