OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Safe Haskell | None

Graphics.Rendering.OpenGL.GL.ControlPoint

Description

This is a purely internal module for handling control points.

# Documentation

class ControlPoint c where

Methods

map1Target :: Domain d => c d -> GLenum

map2Target :: Domain d => c d -> GLenum

enableCap1 :: Domain d => c d -> EnableCap

enableCap2 :: Domain d => c d -> EnableCap

numComponents :: Domain d => c d -> Stride

peekControlPoint :: Domain d => Ptr (c d) -> IO (c d)

pokeControlPoint :: Domain d => Ptr (c d) -> c d -> IO ()

Instances

ControlPoint Index1 |
ControlPoint Color4 |
ControlPoint Normal3 |
ControlPoint TexCoord4 |
ControlPoint TexCoord3 |
ControlPoint TexCoord2 |
ControlPoint TexCoord1 |
ControlPoint Vertex4 |
ControlPoint Vertex3 |