ombra-1.1.0.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Image

Synopsis

Documentation

data Image o Source #

Instances

Functor Image Source # 

Methods

fmap :: (a -> b) -> Image a -> Image b #

(<$) :: a -> Image b -> Image a #

MapShader Image FragmentShaderStage Source # 
Semigroup (Image o) Source # 

Methods

(<>) :: Image o -> Image o -> Image o #

sconcat :: NonEmpty (Image o) -> Image o #

stimes :: Integral b => b -> Image o -> Image o #

Monoid (Image o) Source # 

Methods

mempty :: Image o #

mappend :: Image o -> Image o -> Image o #

mconcat :: [Image o] -> Image o #

uimage :: (ShaderInput i, GeometryVertex i, ElementType e, ShaderInput v, Foldable t) => (UniformSetter vu -> VertexShader i (GVec4, v)) -> (UniformSetter fu -> FragmentShader v o) -> t (Geometry e i, vu, fu) -> Image o Source #

Create an Image using the same shader with different uniforms for each geometry. The resulting image can be rendered more efficiently than an equivalent sequence of images created with image.

draw :: (MonadDraw o m, FragmentShaderOutput o) => Image o -> m o () Source #

Draw an Image.