caramia-0.2.0.1: Less painful OpenGL 3.3 rendering

Safe HaskellNone
LanguageHaskell2010

Graphics.Caramia.Shader.Internal

Synopsis

Documentation

data Shader Source

A shader object for a specific shader stage.

OpenGL equivalent is the shader object.

Constructors

Shader 

Fields

resource :: !(Resource Shader_)
 
viewStage :: !ShaderStage

Which stage does this shader belong to.

identifier :: !Int
 

Instances

Eq Shader 
Ord Shader

The ordering has no inherent meaning but it allows shaders to be stored correctly in containers that have Ord constraint.

Typeable * Shader 

data Shader_ Source

Constructors

CompiledShader !GLuint 

data Pipeline Source

A pipeline object that references a collection of shaders.

OpenGL equivalent is the shader program object.

newtype Pipeline_ Source

Constructors

Pipeline_ GLuint