OpenGL-3.0.3.0: A binding for the OpenGL graphics system

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

Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Contents

Description

This module contains functions related to shader uniforms, this corresponds to section 2.20.3 of the OpenGL 3.1 spec (Shader Variables).

Synopsis

Uniform variables

class Uniform a where Source #

Instances
Uniform GLint Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLuint Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLfloat Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLdouble Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform TextureUnit Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vector4 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vector3 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vector2 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vector1 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vertex4 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vertex3 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vertex2 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vertex1 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Index1 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Color4 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Color3 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (FogCoord1 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Normal3 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord4 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord3 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord2 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord1 a) Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

MatrixComponent a => Uniform (GLmatrix a) Source #

Note: uniformv expects all matrices to be in ColumnMajor form.

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

class Storable a => UniformComponent a Source #

Minimal complete definition

uniform1, uniform2, uniform3, uniform4, getUniform, uniform1v, uniform2v, uniform3v, uniform4v

Instances
UniformComponent GLint Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent GLuint Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent GLfloat Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent GLdouble Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform