IDirect3DRMViewport::SetUniformScaling

HRESULT SetUniformScaling(BOOL bScale);

Sets the scaling property used to scale the viewing volume into the larger dimension of the window.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

bScale

New scaling property. If this parameter is TRUE, the same horizontal and vertical scaling factor is used to scale the viewing volume. Otherwise, different scaling factors are used to scale the viewing volume exactly into the window. The default setting is TRUE.

This method is typically used with the IDirect3DRMViewport::SetPlane method to support banding.