Safe Haskell | None |
---|---|
Language | Haskell2010 |
Graphics.GL.Low.Types
- newtype VAO = VAO {}
- newtype BufferObject = BufferObject {}
- newtype FBO = FBO {}
- data RBO = RBO {}
- data Texture = Texture {}
- newtype Program = Program {}
- newtype Shader = Shader {
- fromShader :: GLuint
- data ImageFormat
Documentation
newtype BufferObject Source
Handle to a buffer object, such as a VBO or an element array.
Constructors
BufferObject | |
Fields |
Instances
Show BufferObject Source |
A framebuffer object is an alternative rendering destination. Once an FBO is bound to framebuffer binding target, it is possible to attach images (textures or RBOs) for color, depth, or stencil rendering.
An RBO is a kind of image object used for rendering. The only thing you can do with an RBO is attach it to an FBO.
Constructors
RBO | |
Fields |
Handle to a texture object. It may be a Tex2D or a cubemap.
Constructors
Texture | |
Fields |
Handle to a shader program.
Constructors
Program | |
Fields |
Handle to a shader object.
Constructors
Shader | |
Fields
|
data ImageFormat Source
Constructors
RGB | |
RGBA | |
Alpha | |
Luminance | |
LuminanceAlpha | |
Depth24 | |
Depth24Stencil8 |
Instances
Eq ImageFormat Source | |
Ord ImageFormat Source | |
Read ImageFormat Source | |
Show ImageFormat Source | |
ToGL ImageFormat Source |