IDirect3DRMFrame::SetSortMode

HRESULT SetSortMode(D3DRMSORTMODE d3drmSM);

Sets the sorting mode used to process child frames. You can use this method to change the properties of hidden-surface-removal algorithms.

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

d3drmSM

One of the members of the D3DRMSORTMODE enumerated type, specifying the sorting mode. The default value is D3DRMSORT_FROMPARENT.