[][src]Function opencv::core::render_1

pub fn render_1(arr: &Arrays, mode: i32, color: Scalar) -> Result<()>

Render OpenGL texture or primitives.

Parameters

  • tex: Texture to draw.
  • wndRect: Region of window, where to draw a texture (normalized coordinates).
  • texRect: Region of texture to draw (normalized coordinates).

Overloaded parameters

  • arr: Array of privitives vertices.
  • mode: Render mode. One of cv::ogl::RenderModes
  • color: Color for all vertices. Will be used if arr doesn't contain color array.

C++ default parameters

  • mode: POINTS
  • color: Scalar::all(255)