unsigned width;
unsigned height;
bool hdr;
+ bool alpha;
unsigned samples;
RenderTarget *target[2];
RenderTarget *target_ms;
public:
Pipeline(unsigned, unsigned, bool = false);
Pipeline(const View &);
+ Pipeline(const Framebuffer &);
private:
void init(unsigned, unsigned);
public:
A ColorCurve postprocessor is recommended for full benefit. */
void set_hdr(bool);
+ /* Enable or disable alpha channel. When enabled, all render targets are
+ created with an RGBA pixel format instead of RGB. */
+ void set_alpha(bool);
+
void set_multisample(unsigned);
unsigned get_width() const { return width; }