MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
MFM::Camera Class Reference

#include <Camera.h>

Public Member Functions

void ToggleRecord ()
 
bool IsRecording ()
 
void SetRecording (bool recording)
 
bool DrawSurface (SDL_Surface *sfc, const char *pngPath) const
 

Detailed Description

A class which represents a layer that a SDL_Surface* must go through in order to be drawn to the screen. This allows a user to intercept the image as it is being drawn in order to capture the images in the form of a PNG sequence to make primitive videos.

At the moment, this only supports writing 10 million frames. This is a whole lot, but keep this in mind if wanting to make a really long video.


The documentation for this class was generated from the following files: