OpenGL-3.0.1.0: A binding for the OpenGL graphics system

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

Graphics.Rendering.OpenGL.GL.Shaders.ShaderObjects

Contents

Description

This module corresponds to section 7.1 (Shader Objects) and 7.13 (Shader, Program, and Program Pipeline Queries) of the OpenGL 4.4 spec.

Synopsis

Shader Objects

shaderCompiler :: GettableStateVar Bool Source #

shaderSourceBS :: Shader -> StateVar ByteString Source #

UTF8 encoded.

shaderSource :: Shader -> StateVar [String] Source #

Deprecated: Use a combination of shaderSourceBS and packUtf8 or unpackUtf8 instead.

Shader Queries

shaderType :: Shader -> GettableStateVar ShaderType Source #

shaderDeleteStatus :: Shader -> GettableStateVar Bool Source #

compileStatus :: Shader -> GettableStateVar Bool Source #

shaderInfoLog :: Shader -> GettableStateVar String Source #

Bytestring utilities