bsnes/higan/ruby/video.hpp

28 lines
742 B
C++
Executable File

struct Video {
static const char *Handle;
static const char *Synchronize;
static const char *Depth;
static const char *Filter;
static const char *Shader;
enum Filter : unsigned {
FilterPoint,
FilterLinear,
};
virtual bool cap(const nall::string& name) { return false; }
virtual nall::any get(const nall::string& name) { return false; }
virtual bool set(const nall::string& name, const nall::any& value) { return false; }
virtual bool lock(uint32_t *&data, unsigned &pitch, unsigned width, unsigned height) { return false; }
virtual void unlock() {}
virtual void clear() {}
virtual void refresh() {}
virtual bool init() { return true; }
virtual void term() {}
Video() {}
virtual ~Video() {}
};