class GL_COLOR

Features exported to INTERNALS_HANDLER

Direct parents

non-conformant parents

SMART_GL

Summary

creation features

exported features

Details

set_color (r: REAL, g: REAL, b: REAL, a: REAL)
set_from_collection (c: COLLECTION [E_][REAL])

require

  • c.count >= 4

set_from_collection (c: COLLECTION [E_][REAL])

require

  • c.count >= 4

set_color (r: REAL, g: REAL, b: REAL, a: REAL)
set_red (r: REAL)

require

  • color_array /= Void and then color_array.count >= 4
  • r.in_range(0, 1)

set_green (g: REAL)

require

  • color_array /= Void and then color_array.count >= 4
  • g.in_range(0, 1)

set_blue (b: REAL)

require

  • color_array /= Void and then color_array.count >= 4
  • b.in_range(0, 1)

set_alpha (a: REAL)

require

  • color_array /= Void and then color_array.count >= 4
  • a.in_range(0, 1)

red: REAL

require

  • color_array /= Void and then color_array.count >= 4

ensure

  • Result.in_range(0, 1)

green: REAL

require

  • color_array /= Void and then color_array.count >= 4

ensure

  • Result.in_range(0, 1)

blue: REAL

require

  • color_array /= Void and then color_array.count >= 4

ensure

  • Result.in_range(0, 1)

alpha: REAL

require

  • color_array /= Void and then color_array.count >= 4

ensure

  • Result.in_range(0, 1)

render
color_array: FAST_ARRAY [E_][REAL_32]
set_clear_color (red: REAL, green: REAL, blue: REAL, alpha: REAL)
set_clear_depth (depth: REAL)
translate (x: REAL, y: REAL, z: REAL)
rotate (angle: REAL, axis_x: REAL, axis_y: REAL, axis_z: REAL)
scale (x: REAL, y: REAL, z: REAL)
begin_rendering
end_rendering
begin_points

require

    ensure

      begin_lines

      require

        ensure

          begin_line_strip

          require

            ensure

              begin_line_loop

              require

                ensure

                  begin_triangles

                  require

                    ensure

                      begin_triangle_strip

                      require

                        ensure

                          begin_triangle_fan

                          require

                            ensure

                              begin_quads

                              require

                                ensure

                                  begin_quad_strip

                                  require

                                    ensure

                                      begin_polygon

                                      require

                                        ensure

                                          end_primitive

                                          require

                                            ensure

                                              vertex (x: REAL, y: REAL, z: REAL)
                                              full_red: GL_COLOR
                                              full_green: GL_COLOR
                                              full_blue: GL_COLOR
                                              full_yellow: GL_COLOR
                                              full_magenta: GL_COLOR
                                              full_cyan: GL_COLOR
                                              full_white: GL_COLOR
                                              full_black: GL_COLOR
                                              gl: GL
                                              glu: GLU