|
|
RwD3D9CameraAttachWindow can be used to attach an RwCamera to a specific window handle so that multiple windows may be rendered to in one instance of RenderWare Graphics.
Call this function before the camera rendering function in your application's render loop. The preferred order of use is:
- create a window
- create a camera
- attach the window
- render through camera
- Parameters:
-
| camera |
Void pointer to the camera to attach the window to. |
| hwnd |
Void pointer to the window handle to attach to the camera. |
- Returns:
-
Returns TRUE if successful, FALSE otherwise.
- See also:
-
RwCameraBeginUpdate , RwCameraEndUpdate , RwCameraClear , RwCameraShowRaster , RwCameraCreate
|