OpenGL-2.2.3.0: A binding for the OpenGL graphics systemSource codeContentsIndex
Graphics.Rendering.OpenGL.GL.Feedback
Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Description
This module corresponds to section 5.3 (Feedback) of the OpenGL 2.1 specs.
Documentation
data FeedbackToken Source
Constructors
PointToken VertexInfo
LineToken VertexInfo VertexInfo
LineResetToken VertexInfo VertexInfo
PolygonToken [VertexInfo]
BitmapToken VertexInfo
DrawPixelToken VertexInfo
CopyPixelToken VertexInfo
PassThroughToken PassThroughValue
data VertexInfo Source
Constructors
Vertex2D (Vertex2 GLfloat)
Vertex3D (Vertex3 GLfloat)
Vertex3DColor (Vertex3 GLfloat) ColorInfo
Vertex3DColorTexture (Vertex3 GLfloat) ColorInfo (TexCoord4 GLfloat)
Vertex4DColorTexture (Vertex4 GLfloat) ColorInfo (TexCoord4 GLfloat)
type ColorInfo = Either (Index1 GLint) (Color4 GLfloat)Source
data FeedbackType Source
Constructors
TwoD
ThreeD
ThreeDColor
ThreeDColorTexture
FourDColorTexture
getFeedbackTokens :: GLsizei -> FeedbackType -> IO a -> IO (a, Maybe [FeedbackToken])Source
newtype PassThroughValue Source
Constructors
PassThroughValue GLfloat
passThrough :: PassThroughValue -> IO ()Source
Produced by Haddock version 2.6.1