@hackage ombra0.1.1.0

Render engine.

  • Installation

  • Dependencies (9)

  • Dependents (1)

    @hackage/acme-everything
  • Package Flags

      opengl
       (on by default)

      Enable the OpenGL backend. Main module: Graphics.Rendering.Ombra.Backend.OpenGL

      webgl
       (on by default)

      Enable the GHCJS/WebGL backend, if compiled with GHCJS. Main module: Graphics.Rendering.Ombra.Backend.WebGL

Type-safe render engine, with a purely functional API and a shader EDSL. Ombra supports both OpenGL (2.0 with some extensions) and WebGL, through GHCJS.

The modules you generally need to use are:

Graphics.Rendering.Ombra.D3: 3D graphics

Graphics.Rendering.Ombra.D2: 2D graphics

Graphics.Rendering.Ombra.Generic: although both D3 and D2 export it, you may want to read the documentation

Graphics.Rendering.Ombra.Shader: for creating shaders

Graphics.Rendering.Ombra.Draw: this lets you render the pure objects you create with D2 and D3