Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_draw_indirect :: Bool
- glDrawArraysIndirect :: MonadIO m => GLenum -> Ptr () -> m ()
- glDrawElementsIndirect :: MonadIO m => GLenum -> GLenum -> Ptr () -> m ()
- pattern GL_DRAW_INDIRECT_BUFFER :: (Eq a, Num a) => a
- pattern GL_DRAW_INDIRECT_BUFFER_BINDING :: (Eq a, Num a) => a
Extension Support
gl_ARB_draw_indirect :: Bool Source #
Checks that the GL_ARB_draw_indirect extension is available.
GL_ARB_draw_indirect
glDrawArraysIndirect :: MonadIO m => GLenum -> Ptr () -> m () Source #
Usage: glDrawArraysIndirect
mode indirect
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawArraysIndirect.xhtml
glDrawElementsIndirect :: MonadIO m => GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glDrawElementsIndirect
mode type indirect
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawElementsIndirect.xhtml
pattern GL_DRAW_INDIRECT_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_DRAW_INDIRECT_BUFFER_BINDING :: (Eq a, Num a) => a Source #