42 enum RenderTexturePlane {
62 INLINE
void set_clear_color_active(
bool clear_color_active);
63 INLINE
bool get_clear_color_active()
const;
65 INLINE
void set_clear_depth_active(
bool clear_depth_active);
66 INLINE
bool get_clear_depth_active()
const;
68 INLINE
void set_clear_stencil_active(
bool clear_stencil_active);
69 INLINE
bool get_clear_stencil_active()
const;
71 INLINE
void set_clear_color(
const LColor &color);
72 INLINE
const LColor &get_clear_color()
const;
73 MAKE_PROPERTY(clear_color, get_clear_color, set_clear_color);
75 INLINE
void set_clear_depth(PN_stdfloat depth);
76 INLINE PN_stdfloat get_clear_depth()
const;
77 MAKE_PROPERTY(clear_depth, get_clear_depth, set_clear_depth);
79 INLINE
void set_clear_stencil(
unsigned int stencil);
80 INLINE
unsigned int get_clear_stencil()
const;
81 MAKE_PROPERTY(clear_stencil, get_clear_stencil, set_clear_stencil);
83 virtual void set_clear_active(
int n,
bool clear_aux_active);
84 virtual bool get_clear_active(
int n)
const;
86 virtual void set_clear_value(
int n,
const LColor &clear_value);
87 virtual const LColor &get_clear_value(
int n)
const;
89 virtual void disable_clears();
90 virtual bool is_any_clear_active()
const;
92 virtual void set_pixel_zoom(PN_stdfloat pixel_zoom);
93 INLINE PN_stdfloat get_pixel_zoom()
const;
94 INLINE PN_stdfloat get_pixel_factor()
const;
95 virtual bool supports_pixel_zoom()
const;
96 MAKE_PROPERTY(pixel_zoom, get_pixel_zoom, set_pixel_zoom);
97 MAKE_PROPERTY(pixel_factor, get_pixel_factor);
99 static int get_renderbuffer_type(
int plane);
102 INLINE
int get_screenshot_buffer_type()
const;
103 INLINE
int get_draw_buffer_type()
const;
106 INLINE
void update_pixel_factor();
107 virtual void pixel_factor_changed();
110 int _screenshot_buffer_type;
111 int _draw_buffer_type;
115 LColor _clear_value[RTP_COUNT];
117 PN_stdfloat _pixel_zoom;
118 PN_stdfloat _pixel_factor;