Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data VertexShader
- data FragmentShader
- data Uniform name val
- data Attribute name val loc
- data AttributeToggling a
- data AttributeBuffering a
- class IsShaderType a b where
- data ShaderSteps t v = ShaderSteps {
- unShaderSteps :: [v]
Documentation
data VertexShader Source #
data FragmentShader Source #
data AttributeToggling a Source #
Used to resolve typeclass instances for generating enable/disable attribute functions.
data AttributeBuffering a Source #
Used to resolve typeclass instances for generating attribute buffering functions.
class IsShaderType a b where Source #
getShaderType :: Proxy a -> b Source #
IsShaderType [k] ([] k) [x] Source # | |
(IsShaderType a t b, IsShaderType [a] ts [b]) => IsShaderType [a] ((:) a t ts) [b] Source # | |
data ShaderSteps t v Source #
A shader step is a step in the shader compilation process. This means that `ShaderSteps '[VertexShader, FragmentShader] [ByteString]` is a list of vertex and fragment shader source code that needs to be compiled. `ShaderSteps '[VertexShader, FragmentShader] GLuint` most likely means a list of vertex and fragment shaders that need to be linked.
ShaderSteps | |
|