lowgl-0.2.0.0: Basic gl wrapper and reference

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Low.Classes

Synopsis

Documentation

class InternalFormat a => Attachable a where

The allowed attachment point for images with an internal format.

Methods

attachPoint :: (Eq b, Num b) => proxy a -> b

class GLObject a => Texture a

Textures are GL objects.

Instances

class Framebuffer a where

Framebuffers can be bound to the framebuffer binding target. There is a default framebuffer and the client may create an arbitrary number of new framebuffer objects.

Methods

framebufferName :: Num b => a -> b

class GLObject a where

All GL objects have some numeric name.

Methods

glObjectName :: Num b => a -> b