gi-cogl-1.0.3: COGL GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Cogl.Flags

Description

 
Synopsis

Flags

BufferBit

data BufferBit Source #

Types of auxiliary buffers

Since: 1.0

Constructors

BufferBitColor

Selects the primary color buffer

BufferBitDepth

Selects the depth buffer

BufferBitStencil

Selects the stencil buffer

AnotherBufferBit Int

Catch-all for unknown values

Instances

Instances details
Enum BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

Show BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

Eq BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

Ord BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes BufferBit Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes BufferBit = '[] :: [Type]

BufferTarget

data BufferTarget Source #

Target flags for FBOs.

Since: 0.8

Constructors

BufferTargetWindowBuffer

FIXME

BufferTargetOffscreenBuffer

FIXME

AnotherBufferTarget Int

Catch-all for unknown values

Instances

Instances details
Enum BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

Show BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

Eq BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

Ord BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes BufferTarget Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes BufferTarget = '[] :: [Type]

ColorMask

data ColorMask Source #

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.

Constructors

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

Instances details
Enum ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

Show ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

Eq ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

Ord ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes ColorMask Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes ColorMask = '[] :: [Type]

FeatureFlags

data FeatureFlags Source #

Flags for the supported features.

Since: 0.8

Constructors

FeatureFlagsTextureRectangle

ARB_texture_rectangle support

FeatureFlagsTextureNpot

Non power of two textures are supported by the hardware. This is a equivalent to the FeatureFlagsTextureNpotBasic, FeatureFlagsTextureNpotMipmap and FeatureFlagsTextureNpotRepeat features combined.

FeatureFlagsTextureYuv

ycbcr conversion support

FeatureFlagsTextureReadPixels

glReadPixels() support

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 IndicesTypeInt is supported in cogl_vertex_buffer_indices_new().

FeatureFlagsDepthRange

cogl_material_set_depth_range() support

FeatureFlagsTextureNpotBasic

The hardware supports non power of two textures, but you also need to check the FeatureFlagsTextureNpotMipmap and FeatureFlagsTextureNpotRepeat features to know if the hardware supports npot texture mipmaps or repeat modes other than COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE respectively.

FeatureFlagsTextureNpotMipmap

Mipmapping is supported in conjuntion with non power of two textures.

FeatureFlagsTextureNpotRepeat

Repeat modes other than COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE are supported by the hardware.

FeatureFlagsPointSprite

Whether materialSetLayerPointSpriteCoordsEnabled is supported.

FeatureFlagsTexture3d

3D texture support

FeatureFlagsShadersArbfp

ARBFP support

FeatureFlagsMapBufferForRead

Whether cogl_buffer_map() is supported with CoglBufferAccess including read support.

FeatureFlagsMapBufferForWrite

Whether cogl_buffer_map() is supported with CoglBufferAccess including write support.

FeatureFlagsOnscreenMultiple

No description available in the introspection data.

FeatureFlagsDepthTexture

Whether CoglFramebuffer support rendering the depth buffer to a texture.

AnotherFeatureFlags Int

Catch-all for unknown values

Instances

Instances details
Enum FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Show FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Eq FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Ord FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes FeatureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes FeatureFlags = '[] :: [Type]

ReadPixelsFlags

data ReadPixelsFlags Source #

Flags for cogl_framebuffer_read_pixels_into_bitmap()

Since: 1.0

Constructors

ReadPixelsFlagsColorBuffer

Read from the color buffer

AnotherReadPixelsFlags Int

Catch-all for unknown values

Instances

Instances details
Enum ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Show ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Eq ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Ord ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes ReadPixelsFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes ReadPixelsFlags = '[] :: [Type]

TextureFlags

data TextureFlags Source #

Flags to pass to the cogl_texture_new_* family of functions.

Since: 1.0

Constructors

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

Instances

Instances details
Enum TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Show TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Eq TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Ord TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

BoxedFlags TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

IsGFlag TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

TypedObject TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

Methods

glibType :: IO GType

HasParentTypes TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes TextureFlags Source # 
Instance details

Defined in GI.Cogl.Flags

type ParentTypes TextureFlags = '[] :: [Type]