# EfxCam_SetMRTImage

EfxCam_SetMRTImage EfxCamID, TargetIndex, ImageID [, D3DFMT ]

## Description

Sets up an EfxCam MRT target image. The new target will be created using the same resolution as the camera's primary render target. If no format is specified, the target will be created using the backbuffer's image format. This command should not be called until EfxCam_SetToImage has been used to setup the EfxCam's primary render target.

## Parameters

EfxCamID | INTEGER | ID of the EfxCam
TargetIndex | INTEGER | Value ranging from 1 to 3 indicating the MRT target's index
ImageID | INTEGER | ID of the new render target image
D3DFMT | INTEGER | Optional: The render target's D3D image format

EfxCam Commands
jGfx Command Index
jGfx Main