X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frendertarget.h;h=2138d9ce31b202a7a0f896ebf7d0cb6b08d35d6f;hp=0181365e0c0b8ea4b916ef7255aa0ad3f171c5ac;hb=e16855bccb78c721e2fe3f2ea8fc0310e041cb43;hpb=5f7d0a31de9ffe891af6eb43aeb6d37372b8ade7 diff --git a/source/rendertarget.h b/source/rendertarget.h index 0181365e..2138d9ce 100644 --- a/source/rendertarget.h +++ b/source/rendertarget.h @@ -72,8 +72,11 @@ private: public: ~RenderTarget(); + unsigned get_width() const { return width; } + unsigned get_height() const { return height; } const RenderTargetFormat &get_format() const { return format; } Framebuffer &get_framebuffer() { return fbo; } + void set_texture_filter(TextureFilter); const Texture2D &get_target_texture(unsigned) const; const Texture2D &get_target_texture(RenderOutput) const; void blit_from(const RenderTarget &);