https://learn.microsoft.com/en-us/windows/win32/api/d3d9/nf-d3d9-idirect3ddevice9-setclipplane
IDirect3DDevice9::SetClipPlane (d3d9.h) - Win32 apps | Microsoft Learn
The IDirect3DDevice9::SetClipPlane method (d3d9.h) sets the coefficients of a user-defined clipping plane for the device.
happsmicrosoftlearn