Welcome to mirror list, hosted at ThFree Co, Russian Federation.

render_target.hpp « graphics - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ef18ce2a0317a89fc70c4b657cb6f768427f85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

namespace graphics
{
  class RenderTarget
  {
  public:
    virtual ~RenderTarget() {}
    /// attach render target to framebuffer and setup coordinate system
    virtual unsigned int id() const = 0;
    virtual void attachToFrameBuffer() = 0;
    virtual void detachFromFrameBuffer() = 0;
    virtual unsigned  width() const = 0;
    virtual unsigned height() const = 0;
  };
}