Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BufferBit
- data BufferTarget
- data ColorMask
- data FeatureFlags
- = FeatureFlagsTextureRectangle
- | FeatureFlagsTextureNpot
- | FeatureFlagsTextureYuv
- | FeatureFlagsTextureReadPixels
- | FeatureFlagsShadersGlsl
- | FeatureFlagsOffscreen
- | FeatureFlagsOffscreenMultisample
- | FeatureFlagsOffscreenBlit
- | FeatureFlagsFourClipPlanes
- | FeatureFlagsStencilBuffer
- | FeatureFlagsVbos
- | FeatureFlagsPbos
- | FeatureFlagsUnsignedIntIndices
- | FeatureFlagsDepthRange
- | FeatureFlagsTextureNpotBasic
- | FeatureFlagsTextureNpotMipmap
- | FeatureFlagsTextureNpotRepeat
- | FeatureFlagsPointSprite
- | FeatureFlagsTexture3d
- | FeatureFlagsShadersArbfp
- | FeatureFlagsMapBufferForRead
- | FeatureFlagsMapBufferForWrite
- | FeatureFlagsOnscreenMultiple
- | FeatureFlagsDepthTexture
- | AnotherFeatureFlags Int
- data ReadPixelsFlags
- data TextureFlags
Flags
BufferBit
Types of auxiliary buffers
Since: 1.0
BufferBitColor | Selects the primary color buffer |
BufferBitDepth | Selects the depth buffer |
BufferBitStencil | Selects the stencil buffer |
AnotherBufferBit Int | Catch-all for unknown values |
Instances
Enum BufferBit Source # | |
Defined in GI.Cogl.Flags succ :: BufferBit -> BufferBit # pred :: BufferBit -> BufferBit # fromEnum :: BufferBit -> Int # enumFrom :: BufferBit -> [BufferBit] # enumFromThen :: BufferBit -> BufferBit -> [BufferBit] # enumFromTo :: BufferBit -> BufferBit -> [BufferBit] # enumFromThenTo :: BufferBit -> BufferBit -> BufferBit -> [BufferBit] # | |
Show BufferBit Source # | |
Eq BufferBit Source # | |
Ord BufferBit Source # | |
Defined in GI.Cogl.Flags | |
BoxedFlags BufferBit Source # | |
Defined in GI.Cogl.Flags | |
IsGFlag BufferBit Source # | |
Defined in GI.Cogl.Flags | |
TypedObject BufferBit Source # | |
Defined in GI.Cogl.Flags | |
HasParentTypes BufferBit Source # | |
Defined in GI.Cogl.Flags | |
type ParentTypes BufferBit Source # | |
Defined in GI.Cogl.Flags |
BufferTarget
data BufferTarget Source #
Target flags for FBOs.
Since: 0.8
BufferTargetWindowBuffer | FIXME |
BufferTargetOffscreenBuffer | FIXME |
AnotherBufferTarget Int | Catch-all for unknown values |
Instances
ColorMask
Defines a bit mask of color channels. This can be used with
cogl_pipeline_set_color_mask()
for example to define which color
channels should be written to the current framebuffer when
drawing something.
ColorMaskNone | None of the color channels are masked |
ColorMaskRed | Masks the red color channel |
ColorMaskGreen | Masks the green color channel |
ColorMaskBlue | Masks the blue color channel |
ColorMaskAlpha | Masks the alpha color channel |
ColorMaskAll | All of the color channels are masked |
AnotherColorMask Int | Catch-all for unknown values |
Instances
Enum ColorMask Source # | |
Defined in GI.Cogl.Flags succ :: ColorMask -> ColorMask # pred :: ColorMask -> ColorMask # fromEnum :: ColorMask -> Int # enumFrom :: ColorMask -> [ColorMask] # enumFromThen :: ColorMask -> ColorMask -> [ColorMask] # enumFromTo :: ColorMask -> ColorMask -> [ColorMask] # enumFromThenTo :: ColorMask -> ColorMask -> ColorMask -> [ColorMask] # | |
Show ColorMask Source # | |
Eq ColorMask Source # | |
Ord ColorMask Source # | |
Defined in GI.Cogl.Flags | |
BoxedFlags ColorMask Source # | |
Defined in GI.Cogl.Flags | |
IsGFlag ColorMask Source # | |
Defined in GI.Cogl.Flags | |
TypedObject ColorMask Source # | |
Defined in GI.Cogl.Flags | |
HasParentTypes ColorMask Source # | |
Defined in GI.Cogl.Flags | |
type ParentTypes ColorMask Source # | |
Defined in GI.Cogl.Flags |
FeatureFlags
data FeatureFlags Source #
Flags for the supported features.
Since: 0.8
FeatureFlagsTextureRectangle | ARB_texture_rectangle support |
FeatureFlagsTextureNpot | Non power of two textures are supported
by the hardware. This is a equivalent to the
|
FeatureFlagsTextureYuv | ycbcr conversion support |
FeatureFlagsTextureReadPixels |
|
FeatureFlagsShadersGlsl | GLSL support |
FeatureFlagsOffscreen | FBO support |
FeatureFlagsOffscreenMultisample | Multisample support on FBOs |
FeatureFlagsOffscreenBlit | Blit support on FBOs |
FeatureFlagsFourClipPlanes | At least 4 clip planes available |
FeatureFlagsStencilBuffer | Stencil buffer support |
FeatureFlagsVbos | VBO support |
FeatureFlagsPbos | PBO support |
FeatureFlagsUnsignedIntIndices | Set if
|
FeatureFlagsDepthRange |
|
FeatureFlagsTextureNpotBasic | The hardware supports non power
of two textures, but you also need to check the
|
FeatureFlagsTextureNpotMipmap | Mipmapping is supported in conjuntion with non power of two textures. |
FeatureFlagsTextureNpotRepeat | Repeat modes other than
|
FeatureFlagsPointSprite | Whether
|
FeatureFlagsTexture3d | 3D texture support |
FeatureFlagsShadersArbfp | ARBFP support |
FeatureFlagsMapBufferForRead | Whether |
FeatureFlagsMapBufferForWrite | Whether |
FeatureFlagsOnscreenMultiple | No description available in the introspection data. |
FeatureFlagsDepthTexture | Whether |
AnotherFeatureFlags Int | Catch-all for unknown values |
Instances
ReadPixelsFlags
data ReadPixelsFlags Source #
Flags for cogl_framebuffer_read_pixels_into_bitmap()
Since: 1.0
ReadPixelsFlagsColorBuffer | Read from the color buffer |
AnotherReadPixelsFlags Int | Catch-all for unknown values |
Instances
TextureFlags
data TextureFlags Source #
Flags to pass to the cogl_texture_new_* family of functions.
Since: 1.0
TextureFlagsNone | No flags specified |
TextureFlagsNoAutoMipmap | Disables the automatic generation of the mipmap pyramid from the base level image whenever it is updated. The mipmaps are only generated when the texture is rendered with a mipmap filter so it should be free to leave out this flag when using other filtering modes |
TextureFlagsNoSlicing | Disables the slicing of the texture |
TextureFlagsNoAtlas | Disables the insertion of the texture inside the texture atlas used by Cogl |
AnotherTextureFlags Int | Catch-all for unknown values |