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

Safe HaskellNone
LanguageHaskell2010

Graphics.OpenGLES.State

Contents

Description

Draw configurations on Rasterization and Per-Fragment Operations. Note: Graphic state is sticky.

Synopsis

Graphics State

polygonOffset Source

Arguments

:: Float

factor

-> Float

units

-> GL () 

scissor Source

Arguments

:: Int32

left

-> Int32

bottom

-> Int32

width

-> Int32

height

-> GL () 

sampleCoverage Source

Arguments

:: Float

multisample coverage value [0,1]

-> Bool

whether coverage masks should be inverted or not

-> GL () 

Capability

Cull Face

frontFace :: Bool -> GL () Source

CW -> True, CCW -> False

Stencil

Depth

Blend

type Clampf = Float Source

Float value clamped to [0,1]

Hint