@hackage ombra0.1.0.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

Ombra is a render engine written in Haskell. It provides a purely functional interface for advanced graphics programming, including a type safe embedded DSL for GPU programming. You are not required to know or use OpenGL directly to work with Ombra, you just need a basic knowledge of what vertex/fragment shaders, uniforms and attributes are (if you are going to make a more advanced use of it). Ombra supports both OpenGL and WebGL.

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 D2D3Generic

Graphics.Rendering.Ombra.Texture: for creating textures