Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Culling
- data Viewport = Viewport {}
- data IndexFormat
- drawPoints :: Int -> IO ()
- drawLines :: Int -> IO ()
- drawLineStrip :: Int -> IO ()
- drawLineLoop :: Int -> IO ()
- drawTriangles :: Int -> IO ()
- drawTriangleStrip :: Int -> IO ()
- drawTriangleFan :: Int -> IO ()
- drawIndexedPoints :: Int -> IndexFormat -> IO ()
- drawIndexedLines :: Int -> IndexFormat -> IO ()
- drawIndexedLineStrip :: Int -> IndexFormat -> IO ()
- drawIndexedLineLoop :: Int -> IndexFormat -> IO ()
- drawIndexedTriangles :: Int -> IndexFormat -> IO ()
- drawIndexedTriangleStrip :: Int -> IndexFormat -> IO ()
- drawIndexedTriangleFan :: Int -> IndexFormat -> IO ()
- enableScissorTest :: Viewport -> IO ()
- disableScissorTest :: IO ()
- enableCulling :: Culling -> IO ()
- disableCulling :: IO ()
- setViewport :: Viewport -> IO ()
Documentation
Facet culling modes.
A rectangular section of the window.
data IndexFormat Source
How indices are packed in an ElementArray buffer object.
UByteIndices | Each index is one unsigned byte. |
UShortIndices | Each index is a two byte unsigned int. |
UIntIndices | Each index is a four byte unsigned int. |
drawPoints :: Int -> IO () Source
drawLineStrip :: Int -> IO () Source
drawLineLoop :: Int -> IO () Source
drawTriangles :: Int -> IO () Source
drawTriangleStrip :: Int -> IO () Source
drawTriangleFan :: Int -> IO () Source
drawIndexedPoints :: Int -> IndexFormat -> IO () Source
drawIndexedLines :: Int -> IndexFormat -> IO () Source
drawIndexedLineStrip :: Int -> IndexFormat -> IO () Source
drawIndexedLineLoop :: Int -> IndexFormat -> IO () Source
drawIndexedTriangles :: Int -> IndexFormat -> IO () Source
drawIndexedTriangleStrip :: Int -> IndexFormat -> IO () Source
drawIndexedTriangleFan :: Int -> IndexFormat -> IO () Source
enableScissorTest :: Viewport -> IO () Source
Enable the scissor test. Graphics outside the scissor box will not be rendered.
disableScissorTest :: IO () Source
Disable the scissor test.
enableCulling :: Culling -> IO () Source
Enable facet culling. The argument specifies whether front faces, back faces, or both will be omitted from rendering. If both front and back faces are culled you can still render points and lines.
disableCulling :: IO () Source
Disable facet culling. Front and back faces will now be rendered.
setViewport :: Viewport -> IO () Source
Set the viewport. The default viewport simply covers the entire window.