procedure rglCopySceneScreenPartToBitmapFile( const aFilePath : PChar; const aX, aY, aWidth, aHeight : integer); stdcall;
Draws a section of the current frame to a bitmap, and saves it to disk
Parameters
aFilePath - PChar the path, and filename to the destination bitmap aX - left of the image aY - top of the image aWidth - width of the image aHeight - height of the image
Remark This function can be used to copy parts of the screen to a bitmap. Can be used to generate cubemaps from inside the map
|