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

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

Graphics.GL.NV.ViewportSwizzle

Contents

Description

 
Synopsis

Extension Support

glGetNVViewportSwizzle :: MonadIO m => m Bool Source #

Is the NV_viewport_swizzle extension supported?

gl_NV_viewport_swizzle :: Bool Source #

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

Enums

Functions

glViewportSwizzleNV Source #

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

swizzlex.

-> GLenum

swizzley.

-> GLenum

swizzlez.

-> GLenum

swizzlew.

-> m ()