|
virtual void | draw_vertex_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs) |
|
virtual void | draw_vertex_array_xy (gl::mode_t a_mode, size_t a_floatn, const float *a_xys) |
|
virtual void | draw_vertex_color_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas) |
|
virtual void | draw_vertex_normal_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
virtual void | draw_vertex_color_normal_array (gl::mode_t a_mode, size_t a_floatn, const float *a_xyzs, const float *a_rgbas, const float *a_nms) |
|
virtual void | clear_color (float a_r, float a_g, float a_b, float a_a) |
|
virtual void | color4f (float a_r, float a_g, float a_b, float a_a) |
|
virtual void | line_width (float a_v) |
|
virtual void | point_size (float a_v) |
|
virtual void | set_polygon_offset (bool a_v) |
|
virtual void | normal (float a_x, float a_y, float a_z) |
|
virtual void | set_winding (winding_type a_v) |
|
virtual void | set_shade_model (shade_type) |
|
virtual void | set_depth_test (bool a_on) |
|
virtual void | set_cull_face (bool a_on) |
|
virtual void | set_point_smooth (bool a_on) |
|
virtual void | set_line_smooth (bool a_on) |
|
virtual void | load_proj_matrix (const mat4f &a_mtx) |
|
virtual void | load_model_matrix (const mat4f &a_mtx) |
|
virtual unsigned int | max_lights () |
|
virtual void | enable_light (unsigned int, float a_dx, float a_dy, float a_dz, float a_r, float a_g, float a_b, float a_a) |
|
virtual void | set_lighting (bool a_on) |
|
virtual void | set_blend (bool) |
|
virtual void | restore_state (unsigned int) |
|
virtual void | draw_vertex_array_texture (gl::mode_t, size_t a_xyzn, const float *a_xyzs, gstoid a_id, const float *a_tcs) |
| texture ///////////////////////////////////////////////////// More...
|
|
virtual void | draw_vertex_normal_array_texture (gl::mode_t a_mode, size_t a_xyzn, const float *a_xyzs, const float *, gstoid a_id, const float *a_tcs) |
|
virtual void | begin_gsto (gstoid) |
| VBO /////////////////////////////////////////////////////////. More...
|
|
virtual void | draw_gsto_v (gl::mode_t, size_t, bufpos) |
|
virtual void | draw_gsto_vc (gl::mode_t, size_t, bufpos, bufpos) |
|
virtual void | draw_gsto_vn (gl::mode_t, size_t, bufpos, bufpos) |
|
virtual void | draw_gsto_vcn (gl::mode_t, size_t, bufpos, bufpos, bufpos) |
|
virtual void | end_gsto () |
|
virtual sg::render_manager & | render_manager () |
|
| zb_action (zb_manager &a_mgr, std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~zb_action () |
|
void | reset () |
|
const zb::buffer & | zbuffer () const |
|
zb::buffer & | zbuffer () |
|
zb::buffer::ZPixel | add_color (float a_r, float a_g, float a_b, float a_a) |
|
zb::buffer::ZPixel | add_color (float a_r, float a_g, float a_b) |
|
zb::buffer::ZPixel | add_color (const colorf &a_col) |
|
zb::buffer::ZPixel | get_pix (const colorf &a_rgba) |
|
bool | find_color (zb::buffer::ZPixel a_pix, colorf &a_rgba) const |
|
const rcmap_t & | rcolormap () const |
|
rcmap_t & | rcolormap () |
|
unsigned char * | get_rgbas (size_t &a_sz) |
|
unsigned char * | get_rgbs (size_t &a_sz) |
|
| render_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~render_action () |
|
| render_action (const render_action &a_from) |
|
render_action & | operator= (const render_action &a_from) |
|
void | load_matrices_to_identity () |
|
void | load_matrices_from_state () |
|
void | clear_color (const colorf &a_color) |
|
void | color4f (const colorf &a_color) |
|
void | enable_light (unsigned int a_light, const vec3f &a_dir, const colorf &a_col) |
|
void | draw_vertex_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs) |
|
void | draw_vertex_array_xy (gl::mode_t a_mode, const std::vector< float > &a_xys) |
|
void | draw_vertex_color_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_rgbas) |
|
void | draw_vertex_normal_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_nms) |
|
void | draw_vertex_color_normal_array (gl::mode_t a_mode, const std::vector< float > &a_xyzs, const std::vector< float > &a_rgbas, const std::vector< float > &a_nms) |
|
void | normal (const vec3f &a_vec) |
|
bool | add_triangles_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_fan_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_fan_normal_rgba (size_t a_floatn, const float *a_xyzs, float *a_nms, const float *a_rgbas) |
|
bool | add_triangle_strip_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
bool | add_triangle_strip_normal_rgba (size_t a_floatn, const float *a_xyzs, const float *a_nms, const float *a_rgbas) |
|
bool | add_lines (size_t a_floatn, const float *a_xyzs) |
|
bool | add_line_loop (size_t a_floatn, const float *a_xyzs) |
|
bool | add_line_strip (size_t a_floatn, const float *a_xyzs) |
|
bool | add_points (size_t a_floatn, const float *a_xyzs) |
|
bool | add_triangle_fan_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, gstoid a_tex, const float *a_texs) |
|
bool | add_triangle_strip_texture_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms, gstoid a_tex, const float *a_texs) |
|
bool | add_line_loop (const std::vector< float > &a_xyzs) |
|
bool | add_line_strip (const std::vector< float > &a_xyzs) |
|
bool | add_triangle_strip_as_triangles (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
void | dump_vertex_array_xy (std::ostream &a_out, gl::mode_t, size_t a_floatn, const float *a_xys) |
|
| matrix_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~matrix_action () |
|
| matrix_action (const matrix_action &a_from) |
|
matrix_action & | operator= (const matrix_action &a_from) |
|
void | push_matrices () |
|
void | pop_matrices () |
|
mat4f & | projection_matrix () |
|
mat4f & | model_matrix () |
|
bool | end () const |
|
int | cur () const |
|
bool | project_point (float &a_x, float &a_y, float &a_z, float &a_w) |
|
void | model_point (float &a_x, float &a_y, float &a_z, float &a_w) |
|
void | projected_origin (float &a_x, float &a_y, float &a_z) |
|
| win_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~win_action () |
|
unsigned int | ww () const |
|
unsigned int | wh () const |
|
virtual void * | cast (const std::string &a_class) const |
|
virtual const std::string & | s_cls () const =0 |
|
| action (std::ostream &a_out) |
|
virtual | ~action () |
|
std::ostream & | out () const |
|
| states (unsigned int a_ww, unsigned int a_wh) |
|
virtual | ~states () |
|
const sg::state & | state () const |
|
sg::state & | state () |
|
void | pop_state () |
|
void | push_state () |
|
void | save_state (const sg::state &a_state) |
|
const sg::state & | saved_state () const |
|
sg::state & | saved_state () |
|
Definition at line 26 of file zb_action.