# EfxCam_SetToImage

EfxCam_SetToImage EfxCamID, ImageID, Width, Height [, D3DFMT ]

## Description

Sets up a EfxCam's render target image. If no format is specified, the target will be created using the backbuffer's image format

## Parameters

EfxCamID | INTEGER | ID of the EfxCam
ImageID | INTEGER | ID of the new render target image
Width | INTEGER | The render target's resolution on the X axis
Height | INTEGER | The render target's resolution on the Y axis
D3DFMT | INTEGER | Optional: The render target's D3D image format

EfxCam Commands
jGfx Command Index
jGfx Main