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.
ShaderType Int Source # | |
ToFloat Int Source # | |
ToBool Int Source # | |
ToInt Int Source # | |
Num Int Source # | |
GLES => BaseAttribute Int Source # | |
GLES => BaseUniform Int Source # | |
Base IVec4 Int Source # | |
Base IVec3 Int Source # | |
Base IVec2 Int Source # | |
Base Int Int Source # | |
Arithmetic Int Int IVec4 IVec4 IVec4 Source # | |
Arithmetic Int Int IVec4 Int IVec4 Source # | |
Arithmetic Int Int IVec3 IVec3 IVec3 Source # | |
Arithmetic Int Int IVec3 Int IVec3 Source # | |
Arithmetic Int Int IVec2 IVec2 IVec2 Source # | |
Arithmetic Int Int IVec2 Int IVec2 Source # | |
Arithmetic Int Int Int IVec4 IVec4 Source # | |
Arithmetic Int Int Int IVec3 IVec3 Source # | |
Arithmetic Int Int Int IVec2 IVec2 Source # | |
Arithmetic Int Int Int Int Int Source # | |
GLES => BaseUniform (Array n Int) Source # | |
type CPUBase Int Source # | |
type CPUBase (Array n Int) Source # | |
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
.
ShaderType Vec2 Source # | |
VecEq Vec2 Source # | |
VecOrd Vec2 Source # | |
FloatVec Vec2 Source # | |
GLES => BaseAttribute Vec2 Source # | |
GLES => BaseUniform Vec2 Source # | |
Base Vec2 Float Source # | |
Mul Float Float Mat2 Vec2 Vec2 Source # | |
Mul Float Float Vec2 Mat2 Vec2 Source # | |
Arithmetic Float Float Vec2 Vec2 Vec2 Source # | |
Arithmetic Float Float Vec2 Float Vec2 Source # | |
Arithmetic Float Float Float Vec2 Vec2 Source # | |
GLES => BaseUniform (Array n Vec2) Source # | |
type CPUBase Vec2 Source # | |
type CPUBase (Array n Vec2) Source # | |
A GPU 3D float vector.
ShaderType Vec3 Source # | |
VecEq Vec3 Source # | |
VecOrd Vec3 Source # | |
FloatVec Vec3 Source # | |
GLES => BaseAttribute Vec3 Source # | |
GLES => BaseUniform Vec3 Source # | |
Base Vec3 Float Source # | |
Mul Float Float Mat3 Vec3 Vec3 Source # | |
Mul Float Float Vec3 Mat3 Vec3 Source # | |
Arithmetic Float Float Vec3 Vec3 Vec3 Source # | |
Arithmetic Float Float Vec3 Float Vec3 Source # | |
Arithmetic Float Float Float Vec3 Vec3 Source # | |
GLES => BaseUniform (Array n Vec3) Source # | |
type CPUBase Vec3 Source # | |
type CPUBase (Array n Vec3) Source # | |
A GPU 4D float vector.
ShaderType Vec4 Source # | |
VecEq Vec4 Source # | |
VecOrd Vec4 Source # | |
FloatVec Vec4 Source # | |
GLES => BaseAttribute Vec4 Source # | |
GLES => BaseUniform Vec4 Source # | |
Base Vec4 Float Source # | |
Mul Float Float Mat4 Vec4 Vec4 Source # | |
Mul Float Float Vec4 Mat4 Vec4 Source # | |
Arithmetic Float Float Vec4 Vec4 Vec4 Source # | |
Arithmetic Float Float Vec4 Float Vec4 Source # | |
Arithmetic Float Float Float Vec4 Vec4 Source # | |
GLES => BaseUniform (Array n Vec4) Source # | |
type CPUBase Vec4 Source # | |
type CPUBase (Array n Vec4) Source # | |
A GPU 2D integer vector.
ShaderType IVec2 Source # | |
VecEq IVec2 Source # | |
VecOrd IVec2 Source # | |
GLES => BaseAttribute IVec2 Source # | |
GLES => BaseUniform IVec2 Source # | |
Base IVec2 Int Source # | |
Arithmetic Int Int IVec2 IVec2 IVec2 Source # | |
Arithmetic Int Int IVec2 Int IVec2 Source # | |
Arithmetic Int Int Int IVec2 IVec2 Source # | |
GLES => BaseUniform (Array n IVec2) Source # | |
type CPUBase IVec2 Source # | |
type CPUBase (Array n IVec2) Source # | |
A GPU 3D integer vector.
ShaderType IVec3 Source # | |
VecEq IVec3 Source # | |
VecOrd IVec3 Source # | |
GLES => BaseAttribute IVec3 Source # | |
GLES => BaseUniform IVec3 Source # | |
Base IVec3 Int Source # | |
Arithmetic Int Int IVec3 IVec3 IVec3 Source # | |
Arithmetic Int Int IVec3 Int IVec3 Source # | |
Arithmetic Int Int Int IVec3 IVec3 Source # | |
GLES => BaseUniform (Array n IVec3) Source # | |
type CPUBase IVec3 Source # | |
type CPUBase (Array n IVec3) Source # | |
A GPU 4D integer vector.
ShaderType IVec4 Source # | |
VecEq IVec4 Source # | |
VecOrd IVec4 Source # | |
GLES => BaseAttribute IVec4 Source # | |
GLES => BaseUniform IVec4 Source # | |
Base IVec4 Int Source # | |
Arithmetic Int Int IVec4 IVec4 IVec4 Source # | |
Arithmetic Int Int IVec4 Int IVec4 Source # | |
Arithmetic Int Int Int IVec4 IVec4 Source # | |
GLES => BaseUniform (Array n IVec4) Source # | |
type CPUBase IVec4 Source # | |
type CPUBase (Array n IVec4) Source # | |
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.
class ShaderType t where Source #
A type in the GPU.