Sha256: 1f6d1b8bab61419e7fd63accd70091da5155db19329318bc8d7c7e438698e8c8
Contents?: true
Size: 657 Bytes
Versions: 25
Compression:
Stored size: 657 Bytes
Contents
#pragma once #include "GraphicsImpl.hpp" namespace Gosu { class OffScreenTarget { std::shared_ptr<Texture> texture; GLuint renderbuffer; GLuint framebuffer; OffScreenTarget(const OffScreenTarget& other) = delete; OffScreenTarget& operator=(const OffScreenTarget& other) = delete; OffScreenTarget(OffScreenTarget&& other) = delete; OffScreenTarget& operator=(OffScreenTarget&& other) = delete; public: OffScreenTarget(int width, int height, unsigned image_flags); ~OffScreenTarget(); Gosu::Image render(const std::function<void ()>& f); }; }
Version data entries
25 entries across 25 versions & 1 rubygems