gl-0.7.7: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.ComputeShader

Contents

Synopsis

Extension Support

gl_ARB_compute_shader :: Bool Source

Checks that the GL_ARB_compute_shader extension is available.

GL_ARB_compute_shader

glDispatchCompute :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source

Usage: glDispatchCompute num_groups_x num_groups_y num_groups_z

Manual page: https://www.opengl.org/sdk/docs/man/html/glDispatchCompute.xhtml

pattern GL_COMPUTE_SHADER :: (Num a, Eq a) => a Source

pattern GL_COMPUTE_SHADER_BIT :: (Num a, Eq a) => a Source

pattern GL_COMPUTE_WORK_GROUP_SIZE :: (Num a, Eq a) => a Source

pattern GL_DISPATCH_INDIRECT_BUFFER :: (Num a, Eq a) => a Source