OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Safe HaskellNone

Graphics.Rendering.OpenGL.GL.QueryUtils.PName

Description

 

Synopsis

Documentation

class GetPName p => GetPName1I p whereSource

Methods

getBoolean1 :: (GLboolean -> a) -> p -> IO aSource

getInteger1 :: (GLint -> a) -> p -> IO aSource

getEnum1 :: (GLenum -> a) -> p -> IO aSource

getSizei1 :: (GLsizei -> a) -> p -> IO aSource

Instances

class GetPName p => GetPName1F p whereSource

Methods

getFloat1 :: (GLfloat -> a) -> p -> IO aSource

getClampf1 :: (GLclampf -> a) -> p -> IO aSource

getDouble1 :: (GLdouble -> a) -> p -> IO aSource

getClampd1 :: (GLclampd -> a) -> p -> IO aSource

Instances

class GetPName p => GetIPName1I p whereSource

Methods

getBoolean1i :: (GLboolean -> a) -> p -> GLuint -> IO aSource

getInteger1i :: (GLint -> a) -> p -> GLuint -> IO aSource

getEnum1i :: (GLenum -> a) -> p -> GLuint -> IO aSource

getSizei1i :: (GLsizei -> a) -> p -> GLuint -> IO aSource

class GetPName p => GetPName2I p whereSource

Methods

getBoolean2 :: (GLboolean -> GLboolean -> a) -> p -> IO aSource

getInteger2 :: (GLint -> GLint -> a) -> p -> IO aSource

getEnum2 :: (GLenum -> GLenum -> a) -> p -> IO aSource

getSizei2 :: (GLsizei -> GLsizei -> a) -> p -> IO aSource

Instances

class GetPName p => GetPName2F p whereSource

Methods

getFloat2 :: (GLfloat -> GLfloat -> a) -> p -> IO aSource

getClampf2 :: (GLclampf -> GLclampf -> a) -> p -> IO aSource

getDouble2 :: (GLdouble -> GLdouble -> a) -> p -> IO aSource

getClampd2 :: (GLclampd -> GLclampd -> a) -> p -> IO aSource

Instances

class GetPName p => GetPName3I p whereSource

Methods

getBoolean3 :: (GLboolean -> GLboolean -> GLboolean -> a) -> p -> IO aSource

getInteger3 :: (GLint -> GLint -> GLint -> a) -> p -> IO aSource

getEnum3 :: (GLenum -> GLenum -> GLenum -> a) -> p -> IO aSource

getSizei3 :: (GLsizei -> GLsizei -> GLsizei -> a) -> p -> IO aSource

class GetPName p => GetPName3F p whereSource

Methods

getFloat3 :: (GLfloat -> GLfloat -> GLfloat -> a) -> p -> IO aSource

getClampf3 :: (GLclampf -> GLclampf -> GLclampf -> a) -> p -> IO aSource

getDouble3 :: (GLdouble -> GLdouble -> GLdouble -> a) -> p -> IO aSource

getClampd3 :: (GLclampd -> GLclampd -> GLclampd -> a) -> p -> IO aSource

Instances

class GetPName p => GetPName4I p whereSource

Methods

getBoolean4 :: (GLboolean -> GLboolean -> GLboolean -> GLboolean -> a) -> p -> IO aSource

getInteger4 :: (GLint -> GLint -> GLint -> GLint -> a) -> p -> IO aSource

getEnum4 :: (GLenum -> GLenum -> GLenum -> GLenum -> a) -> p -> IO aSource

getSizei4 :: (GLsizei -> GLsizei -> GLsizei -> GLsizei -> a) -> p -> IO aSource

class GetPName p => GetPName4F p whereSource

Methods

getFloat4 :: (GLfloat -> GLfloat -> GLfloat -> GLfloat -> a) -> p -> IO aSource

getClampf4 :: (GLclampf -> GLclampf -> GLclampf -> GLclampf -> a) -> p -> IO aSource

getDouble4 :: (GLdouble -> GLdouble -> GLdouble -> GLdouble -> a) -> p -> IO aSource

getClampd4 :: (GLclampd -> GLclampd -> GLclampd -> GLclampd -> a) -> p -> IO aSource

Instances

class GetPName p => GetIPName4I p whereSource

Methods

getBoolean4i :: (GLboolean -> GLboolean -> GLboolean -> GLboolean -> a) -> p -> GLuint -> IO aSource

getInteger4i :: (GLint -> GLint -> GLint -> GLint -> a) -> p -> GLuint -> IO aSource

getEnum4i :: (GLenum -> GLenum -> GLenum -> GLenum -> a) -> p -> GLuint -> IO aSource

getSizei4i :: (GLsizei -> GLsizei -> GLsizei -> GLsizei -> a) -> p -> GLuint -> IO aSource

class GetPName p => GetPNameNI p whereSource

Methods

getIntegerN :: (GLint -> a) -> p -> Int -> IO [a]Source

Instances

data PName1I Source

Constructors

GetEdgeFlag

bool

GetRGBAMode

enum

GetCurrentIndex

int

GetMaxTextureUnits

enum displaylist

GetListIndex

enum

GetListMode

enum

GetMaxListNesting

sizei

GetListBase

enum rendermode

GetRenderMode

enum framebufferbinding

GetDrawFramebufferBinding

int

GetReadFramebufferBinding

int

GetFramebufferBinding

int renderbufferbinding

GetRenderbufferBinding

int hint

GetPerspectiveCorrectionHint

enum

GetPointSmoothHint

enum

GetLineSmoothHint

enum

GetPolygonSmoothHint

enum

GetFogHint

enum

GetGenerateMipmapHint

enum

GetTextureCompressionHint

enum

GetPackCMYKHint

enum

GetUnpackCMYKHint

enum vertexarray

GetVertexArrayBinding

int Selction?

GetMaxNameStackDepth

int

GetNameStackDepth

int ContextProfile

GetContextProfileMask

enum pixelStorage

GetPackSwapBytes

bool

GetUnpackSwapBytes

bool

GetPackLSBFirst

bool

GetUnpackLSBFirst

bool

GetPackRowLength

int

GetUnpackRowLength

int

GetPackSkipRows

int

GetUnpackSkipRows

int

GetPackSkipPixels

int

GetUnpackSkipPixels

int

GetPackAlignment

int

GetUnpackAlignment

int

GetPackImageHeight

int

GetUnpackImageHeight

int

GetPackSkipImages

int

GetUnpackSkipImages

int pixel map

GetPixelMapIToISize

int

GetPixelMapSToSSize

int

GetPixelMapIToRSize

int

GetPixelMapIToGSize

int

GetPixelMapIToBSize

int

GetPixelMapIToASize

int

GetPixelMapRToRSize

int

GetPixelMapGToGSize

int

GetPixelMapBToBSize

int

GetPixelMapAToASize

int

GetMaxPixelMapTable

sizei shader limits

GetMaxVertexTextureImageUnits

sizei

GetMaxTextureImageUnits

sizei

GetMaxCombinedTextureImageUnits

sizei

GetMaxTextureCoords

sizei

GetMaxVertexUniformComponents

sizei

GetMaxFragmentUniformComponents

sizei

GetMaxVertexAttribs

sizei

GetMaxVaryingFloats

sizei coordtrans

GetMatrixMode

enum

GetModelviewStackDepth

sizei

GetProjectionStackDepth

sizei

GetTextureStackDepth

sizei

GetColorMatrixStackDepth

sizei

GetMaxModelviewStackDepth

sizei

GetMaxProjectionStackDepth

sizei

GetMaxTextureStackDepth

sizei

GetMaxColorMatrixStackDepth

sizei

GetMaxMatrixPaletteStackDepth

sizei

GetCurrentMatrixStackDepth

sizei

GetActiveTexture

enum VertexArrays

GetVertexArraySize

int

GetVertexArrayType

enum

GetVertexArrayStride

int

GetNormalArrayType

enum

GetNormalArrayStride

int

GetColorArraySize

int

GetColorArrayType

enum

GetColorArrayStride

int

GetIndexArrayType

enum

GetIndexArrayStride

int

GetTextureCoordArraySize

int

GetTextureCoordArrayType

enum

GetTextureCoordArrayStride

int

GetEdgeFlagArrayStride

int

GetFogCoordArrayType

enum

GetFogCoordArrayStride

int

GetSecondaryColorArraySize

int

GetSecondaryColorArrayType

enum

GetSecondaryColorArrayStride

int

GetArrayElementLockCount

int

GetArrayElementLockFirst

int

GetClientActiveTexture

enum

GetMaxElementsVertices

sizei

GetMaxElementsIndices

sizei

GetPrimitiveRestartIndex

int

GetPrimitiveRestartNV

bool

GetPrimitiveRestartIndexNV

int bufferObjects

GetArrayBufferBinding

int

GetElementArrayBufferBinding

int

GetCopyReadBuffer

int

GetCopyWriteBuffer

int

GetPixelPackBufferBinding

int

GetPixelUnpackBufferBinding

int

GetTransformFeedbackBufferBinding

int

GetVertexArrayBufferBinding

int

GetNormalArrayBufferBinding

int

GetColorArrayBufferBinding

int

GetIndexArrayBufferBinding

int

GetTextureCoordArrayBufferBinding

int

GetEdgeFlagArrayBufferBinding

int

GetSecondaryColorArrayBufferBinding

int

GetFogCoordArrayBufferBinding

int clipping

GetMaxClipPlanes

sizei Colors

GetMaxLights

sizei

GetFrontFace

enum

GetLightModelLocalViewer

bool

GetLightModelTwoSide

bool

GetLightModelColorControl

enum

GetColorMaterialFace

enum

GetColorMaterialParameter

enum

GetShadeModel

enum

GetFragmentColorClamp

enum

GetVertexColorClamp

enum

GetReadColorClamp

enum Evaluators

GetMaxEvalOrder

int

GetMap1GridSegments

int Fog

GetFogMode

int => enum

GetFogIndex

int

GetFogCoordSrc

int

GetFogDistanceMode

int => enum Framebuffer

GetAuxBuffers

sizei

GetDoublebuffer

bool

GetStereo

bool

GetRedBits

sizei

GetGreenBits

sizei

GetBlueBits

sizei

GetAlphaBits

sizei

GetStencilBits

sizei

GetDepthBits

sizei

GetAccumRedBits

sizei

GetAccumGreenBits

sizei

GetAccumBlueBits

sizei

GetAccumAlphaBits

sizei

GetDrawBuffer

enum

GetDrawBufferN GLsizei 
GetMaxDrawBuffers

sizei

GetIndexWritemask

int

GetDepthWritemask

bool

GetStencilWritemask

bool

GetStencilClearValue

int Program

GetCurrentProgram

int Transformfeedback

GetMaxTransformFeedbackSeparateAttribs

int

GetMaxTransformFeedbackInterleavedComponents

int

GetMaxTransformFeedbackSeparateComponents

int

GetCurrentRasterIndex

int

GetCurrentRasterPositionValid

bool LineSegment

GetLineStippleRepeat

int

GetLineStipplePattern

int PerFragment

GetSampleCoverageInvert

bool

GetAlphaTestFunc

enum

GetStencilFunc

enum

GetStencilValueMask

int

GetStencilRef

int

GetStencilFail

enum

GetStencilPassDepthFail

enum

GetStencilPassDepthPass

enum

GetActiveStencilFace

enum

GetLogicOpMode

enum

GetBlendDst

enum

GetBlendSrc

enum

GetBlendSrcRGB

enum

GetBlendSrcAlpha

enum

GetBlendDstRGB

enum

GetBlendDstAlpha

enum

GetBlendEquation

enum

GetBlendEquationAlpha

enum

GetDepthFunc

enum

GetMapColor

bool

GetMapStencil

bool

GetIndexShift

int

GetIndexOffset

int Polygons -- ^ enum

GetCullFaceMode 
GetNumCompressedTextureFormats

int

GetMaxTextureSize

int

GetMax3DTextureSize

int

GetMaxCubeMapTextureSize

int

GetMaxRectangleTextureSize

int ReadCopyPixels

GetReadBuffer

enum Texture Objects

GetTextureBinding1D

int/enum

GetTextureBinding2D

int/enum

GetTextureBinding3D

int/enum

GetTextureBindingCubeMap

int/enum

GetTextureBindingRectangle

int/enum Antialiasing

GetSubpixelBits

sizei

GetSamples

sizei

GetSampleBuffers

sizei

data PName4I Source

Constructors

GetViewport

int Framebuffer

GetRGBASignedComponents

int PerFragment

GetScissorBox

int

class GetPName p => GetPNameMatrix p whereSource

Methods

getMatrixf :: p -> Ptr GLfloat -> IO ()Source

getMatrixd :: p -> Ptr GLdouble -> IO ()Source