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.FragmentProgram

Contents

Description

 

Synopsis

Extension Support

glGetNVFragmentProgram :: MonadIO m => m Bool Source #

Is the NV_fragment_program extension supported?

gl_NV_fragment_program :: Bool Source #

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

Enums

Functions

glGetProgramNamedParameterdvNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glGetProgramNamedParameterfvNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glProgramNamedParameter4dNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glProgramNamedParameter4dvNV.

glProgramNamedParameter4dvNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

glProgramNamedParameter4fNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glProgramNamedParameter4fvNV.

glProgramNamedParameter4fvNV Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLsizei

len.

-> Ptr GLubyte

name pointing to 1 element of type GLubyte.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m ()