?/TD> |
Microsoft DirectX 9.0 |
Gets the scissor rectangle.
Syntax
HRESULT GetScissorRect(
CONST RECT *pRect );
Parameters
- pRect
- [out] Returns a pointer to the RECT structure, which defines the rendering area within the render target if scissor test is enabled.
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
Remarks
The scissor rectangle is used as a rectangular clipping region.