OpenGLRaw-3.3.0.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2018
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.NV.VertexProgram

Contents

Description

 

Synopsis

Extension Support

glGetNVVertexProgram :: MonadIO m => m Bool Source #

Is the NV_vertex_program extension supported?

gl_NV_vertex_program :: Bool Source #

Is the NV_vertex_program extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetNVVertexProgram in those cases instead.

Enums

Functions

glAreProgramsResidentNV Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> m GLboolean

of type Boolean.

glBindProgramNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

id.

-> m () 

This command is an alias for glBindProgramARB.

glDeleteProgramsNV Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> m () 

This command is an alias for glDeleteProgramsARB.

glExecuteProgramNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

id.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glGenProgramsNV Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> m () 

This command is an alias for glGenProgramsARB.

glGetProgramParameterdvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glGetProgramParameterfvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glGetProgramStringNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLubyte

program pointing to COMPSIZE(id,pname) elements of type ProgramCharacterNV.

-> m () 

glGetProgramivNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLint

params pointing to 4 elements of type GLint.

-> m () 

glGetTrackMatrixivNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

address.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLint

params pointing to 1 element of type GLint.

-> m () 

glGetVertexAttribPointervNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr (Ptr a)

pointer pointing to 1 element of type Ptr a.

-> m () 

This command is an alias for glGetVertexAttribPointerv.

glGetVertexAttribdvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLdouble

params pointing to 1 element of type GLdouble.

-> m () 

This command is an alias for glGetVertexAttribdv.

glGetVertexAttribfvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLfloat

params pointing to 1 element of type GLfloat.

-> m () 

This command is an alias for glGetVertexAttribfv.

glGetVertexAttribivNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribEnumNV.

-> Ptr GLint

params pointing to 1 element of type GLint.

-> m () 

This command is an alias for glGetVertexAttribiv.

glIsProgramNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> m GLboolean

of type Boolean.

This command is an alias for glIsProgramARB.

glLoadProgramNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

program pointing to len elements of type GLubyte.

-> m () 

glProgramParameter4dNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glProgramParameter4dvNV.

glProgramParameter4dvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

glProgramParameter4fNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glProgramParameter4fvNV.

glProgramParameter4fvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m () 

glProgramParameters4dvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to count*4 elements of type GLdouble.

-> m () 

glProgramParameters4fvNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

index.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to count*4 elements of type GLfloat.

-> m () 

glRequestResidentProgramsNV Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> m () 

glTrackMatrixNV Source #

Arguments

:: MonadIO m 
=> GLenum

target of type VertexAttribEnumNV.

-> GLuint

address.

-> GLenum

matrix of type VertexAttribEnumNV.

-> GLenum

transform of type VertexAttribEnumNV.

-> m () 

glVertexAttrib1dNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1dvNV. This command is an alias for glVertexAttrib1d.

glVertexAttrib1dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 1 element of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib1dv.

glVertexAttrib1fNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1fvNV. This command is an alias for glVertexAttrib1f.

glVertexAttrib1fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 1 element of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib1fv.

glVertexAttrib1sNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1svNV. This command is an alias for glVertexAttrib1s.

glVertexAttrib1svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 1 element of type GLshort.

-> m () 

This command is an alias for glVertexAttrib1sv.

glVertexAttrib2dNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2dvNV. This command is an alias for glVertexAttrib2d.

glVertexAttrib2dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 2 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib2dv.

glVertexAttrib2fNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2fvNV. This command is an alias for glVertexAttrib2f.

glVertexAttrib2fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 2 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib2fv.

glVertexAttrib2sNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2svNV. This command is an alias for glVertexAttrib2s.

glVertexAttrib2svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 2 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib2sv.

glVertexAttrib3dNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3dvNV. This command is an alias for glVertexAttrib3d.

glVertexAttrib3dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 3 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib3dv.

glVertexAttrib3fNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3fvNV. This command is an alias for glVertexAttrib3f.

glVertexAttrib3fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 3 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib3fv.

glVertexAttrib3sNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3svNV. This command is an alias for glVertexAttrib3s.

glVertexAttrib3svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 3 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib3sv.

glVertexAttrib4dNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4dvNV. This command is an alias for glVertexAttrib4d.

glVertexAttrib4dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib4dv.

glVertexAttrib4fNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4fvNV. This command is an alias for glVertexAttrib4f.

glVertexAttrib4fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib4fv.

glVertexAttrib4sNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> GLshort

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4svNV. This command is an alias for glVertexAttrib4s.

glVertexAttrib4svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib4sv.

glVertexAttrib4ubNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLubyte

x of type ColorUB.

-> GLubyte

y of type ColorUB.

-> GLubyte

z of type ColorUB.

-> GLubyte

w of type ColorUB.

-> m () 

The vector equivalent of this command is glVertexAttrib4ubvNV. This command is an alias for glVertexAttrib4Nub.

glVertexAttrib4ubvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type ColorUB.

-> m () 

This command is an alias for glVertexAttrib4Nubv.

glVertexAttribPointerNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

fsize.

-> GLenum

type of type VertexAttribEnumNV.

-> GLsizei

stride.

-> Ptr a

pointer pointing to COMPSIZE(fsize,type,stride) elements of type a.

-> m () 

glVertexAttribs1dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to count elements of type GLdouble.

-> m () 

glVertexAttribs1fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to count elements of type GLfloat.

-> m () 

glVertexAttribs1svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLshort

v pointing to count elements of type GLshort.

-> m () 

glVertexAttribs2dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to count*2 elements of type GLdouble.

-> m () 

glVertexAttribs2fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to count*2 elements of type GLfloat.

-> m () 

glVertexAttribs2svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLshort

v pointing to count*2 elements of type GLshort.

-> m () 

glVertexAttribs3dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to count*3 elements of type GLdouble.

-> m () 

glVertexAttribs3fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to count*3 elements of type GLfloat.

-> m () 

glVertexAttribs3svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLshort

v pointing to count*3 elements of type GLshort.

-> m () 

glVertexAttribs4dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLdouble

v pointing to count*4 elements of type GLdouble.

-> m () 

glVertexAttribs4fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLfloat

v pointing to count*4 elements of type GLfloat.

-> m () 

glVertexAttribs4svNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLshort

v pointing to count*4 elements of type GLshort.

-> m () 

glVertexAttribs4ubvNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLsizei

count.

-> Ptr GLubyte

v pointing to count*4 elements of type ColorUB.

-> m ()