Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- type MInt = Int
- data Expr
- data Action
- data ContextVarType
- newtype Bool = Bool Expr
- newtype Float = Float Expr
- newtype Int = Int Expr
- newtype Sampler2D = Sampler2D Expr
- newtype SamplerCube = SamplerCube Expr
- newtype Unknown = Unknown Expr
- data Vec2 = Vec2 Float Float
- data Vec3 = Vec3 Float Float Float
- data Vec4 = Vec4 Float Float Float Float
- data IVec2 = IVec2 Int Int
- data IVec3 = IVec3 Int Int Int
- data IVec4 = IVec4 Int Int Int Int
- data BVec2 = BVec2 Bool Bool
- data BVec3 = BVec3 Bool Bool Bool
- data BVec4 = BVec4 Bool Bool Bool Bool
- data Mat2 = Mat2 Vec2 Vec2
- data Mat3 = Mat3 Vec3 Vec3 Vec3
- data Mat4 = Mat4 Vec4 Vec4 Vec4 Vec4
- data Array n t = Array Expr
- class ShaderType t where
- hash2 :: Hashable a => MInt -> MInt -> a -> MInt
Documentation
An expression.
Expressions that are transformed to statements.
A GPU boolean.
A GPU float.
A GPU integer.
A GPU 2D texture handle.
newtype SamplerCube Source
A GPU cube texture handler.
A GPU 2D float vector.
NB: This is a different type from Data.Vect.Float.Vec2
.
A GPU 3D float vector.
A GPU 4D float vector.
A GPU 2D integer vector.
A GPU 3D integer vector.
A GPU 4D integer vector.
A GPU 2D boolean vector.
A GPU 3D boolean vector.
A GPU 4D boolean vector.
A GPU 2x2 float matrix.
A GPU 3x3 float matrix.
A GPU 4x4 float matrix.
A GPU array.
(Typeable Nat n, GLES) => UniformCPU [Float] (Array n Float) Source | |
(Typeable Nat n, GLES) => UniformCPU [Int32] (Array n Int) Source | |
(Typeable Nat n, GLES) => UniformCPU [Int32] (Array n Bool) Source | |
(Typeable Nat n, GLES) => UniformCPU [Vec2] (Array n Vec2) Source | |
(Typeable Nat n, GLES) => UniformCPU [Vec3] (Array n Vec3) Source | |
(Typeable Nat n, GLES) => UniformCPU [Vec4] (Array n Vec4) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec4] (Array n BVec4) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec4] (Array n IVec4) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec3] (Array n BVec3) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec3] (Array n IVec3) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec2] (Array n BVec2) Source | |
(Typeable Nat n, GLES) => UniformCPU [IVec2] (Array n IVec2) Source | |
(ShaderType t, KnownNat n) => ShaderType (Array n t) Source |
class ShaderType t where Source
A type in the GPU.