OpenGL-3.0.3.0: A binding for the OpenGL graphics system
Copyright(c) Sven Panne 2002-2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Rendering.OpenGL.GL.VertexArrays

Description

This module corresponds to section 2.8 (Vertex Arrays) of the OpenGL 2.1 specs.

Synopsis

Describing Data for the Arrays

type NumComponents = GLint Source #

type Stride = GLsizei Source #

Specifying Data for the Arrays

data Capability Source #

Constructors

Disabled 
Enabled 

Instances

Instances details
Show Capability Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

Methods

showsPrec :: Int -> Capability -> ShowS

show :: Capability -> String

showList :: [Capability] -> ShowS

Eq Capability Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

Methods

(==) :: Capability -> Capability -> Bool

(/=) :: Capability -> Capability -> Bool

Ord Capability Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

Enabling Arrays

Dereferencing and Rendering

type ArrayIndex = GLint Source #

type NumArrayIndices = GLsizei Source #

type NumIndexBlocks = GLsizei Source #

type NumInstances = GLsizei Source #

type BaseInstance = GLuint Source #

type BaseVertex = GLint Source #

Generic Vertex Attribute Arrays