OpenGLRaw-3.2.0.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.ComputeShader

Contents

Description

 

Synopsis

Extension Support

glGetARBComputeShader :: MonadIO m => m Bool Source

Is the ARB_compute_shader extension supported?

gl_ARB_compute_shader :: Bool Source

Is the ARB_compute_shader extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBComputeShader in those cases instead.

Enums

Functions

glDispatchCompute Source

Arguments

:: MonadIO m 
=> GLuint

num_groups_x.

-> GLuint

num_groups_y.

-> GLuint

num_groups_z.

-> m () 

Manual page for OpenGL 4.x.

glDispatchComputeIndirect Source

Arguments

:: MonadIO m 
=> GLintptr

indirect of type BufferOffset.

-> m () 

Manual page for OpenGL 4.x.