I found SetClipStatus(); but that works only whit software draw operations.
Then there is SetClipPlane(DWORD Index,const float *pPlane); but I have no idea what comes as index and pPlane.. sure I read what doc said but I think that this is more like 3D clipping wich I dont know nothing about.
And I was reading about the Projection Transformation and the matrix wich lead me to this code:
D3DXMATRIX matrix;RECT rect = {0,0,300,300};D3DXMatrixPerspectiveOffCenterLH(&matrix,rect.left,rect.right,rect.top,rect.bottom,-1,1);pD3DDevice->SetTransform(D3DTS_PROJECTION,&matrix);
But that clips everything, any tips?