| Copyright | (c) Sven Panne 2019 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.GL.KHR.ParallelShaderCompile
Contents
Description
Synopsis
- glGetKHRParallelShaderCompile :: MonadIO m => m Bool
- gl_KHR_parallel_shader_compile :: Bool
- pattern GL_COMPLETION_STATUS_KHR :: GLenum
- pattern GL_MAX_SHADER_COMPILER_THREADS_KHR :: GLenum
- glMaxShaderCompilerThreadsKHR :: MonadIO m => GLuint -> m ()
Extension Support
glGetKHRParallelShaderCompile :: MonadIO m => m Bool Source #
Is the KHR_parallel_shader_compile extension supported?
gl_KHR_parallel_shader_compile :: Bool Source #
Is the KHR_parallel_shader_compile extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetKHRParallelShaderCompile in those cases instead.
Enums
pattern GL_COMPLETION_STATUS_KHR :: GLenum Source #
pattern GL_MAX_SHADER_COMPILER_THREADS_KHR :: GLenum Source #