opengles-0.6.0: OpenGL ES 2.0 and 3.0 with EGL 1.4

Safe HaskellNone
LanguageHaskell2010

Graphics.OpenGLES.Framebuffer

Contents

Synopsis

Renderbuffer

glRenderbuffer :: forall a b. InternalFormat a b => Int32 -> GL (V2 Int32) -> GL (Renderbuffer b) Source

New Renderbuffer with specified sample count and dimentions.

Framebuffer

data CR Source

Constructors

forall a c . (Attachable a c, ColorRenderable c) => CR (a c) 

class Attachable a b Source

Minimal complete definition

glAttachToFramebuffer

Framebuffer Settings

viewport :: V4 Int32 -> GL () Source

Cliping current framebuffer. Note that origin is left-bottom.

withViewport :: V4 Int32 -> GL a -> GL a Source

withDepthRange :: V2 Float -> GL a -> GL a Source