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

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

Graphics.GL.ARB.GlSpirv

Contents

Description

 
Synopsis

Extension Support

glGetARBGlSpirv :: MonadIO m => m Bool Source #

Is the ARB_gl_spirv extension supported?

gl_ARB_gl_spirv :: Bool Source #

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

Enums

Functions

glSpecializeShaderARB Source #

Arguments

:: MonadIO m 
=> GLuint

shader.

-> Ptr GLchar

pEntryPoint.

-> GLuint

numSpecializationConstants.

-> Ptr GLuint

pConstantIndex.

-> Ptr GLuint

pConstantValue.

-> m () 

This command is an alias for glSpecializeShader.