gi-cogl-1.0.2: 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.Structs.MaterialLayer

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

None.

Getters

getMagFilter, getMinFilter, getTexture, getType, getWrapModeP, getWrapModeS, getWrapModeT.

Setters

None.

getMagFilter

materialLayerGetMagFilter Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m MaterialFilter

Returns: the current downscaling filter

Deprecated: (Since version 1.16)No replacement

Queries the currently set downscaling filter for a material later

getMinFilter

materialLayerGetMinFilter Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: a CoglHandle for a material layer

-> m MaterialFilter

Returns: the current downscaling filter

Deprecated: (Since version 1.16)No replacement

Queries the currently set downscaling filter for a material layer

getTexture

materialLayerGetTexture Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m (Ptr ())

Returns: a CoglHandle for the texture inside the layer

Deprecated: (Since version 1.16)No replacement

Extracts a texture handle for a specific layer.

<note>In the future Cogl may support purely GLSL based layers; for those layers this function which will likely return COGL_INVALID_HANDLE if you try to get the texture handle from them. Considering this scenario, you should call materialLayerGetType first in order check it is of type MaterialLayerTypeTexture before calling this function.</note>

getType

materialLayerGetType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m MaterialLayerType

Returns: the type of the layer

Deprecated: (Since version 1.16)No replacement

Retrieves the type of the layer

Currently there is only one type of layer defined: MaterialLayerTypeTexture, but considering we may add purely GLSL based layers in the future, you should write code that checks the type first.

getWrapModeP

materialLayerGetWrapModeP Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m MaterialWrapMode

Returns: the wrap mode value for the p coordinate.

Deprecated: (Since version 1.16)Use cogl_pipeline_layer_get_wrap_mode_p() instead

Gets the wrap mode for the 'p' coordinate of texture lookups on this layer. 'p' is the third coordinate.

Since: 1.4

getWrapModeS

materialLayerGetWrapModeS Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m MaterialWrapMode

Returns: the wrap mode value for the s coordinate.

Deprecated: (Since version 1.16)Use cogl_pipeline_layer_get_wrap_mode_s() instead

Gets the wrap mode for the 's' coordinate of texture lookups on this layer.

Since: 1.4

getWrapModeT

materialLayerGetWrapModeT Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MaterialLayer

layer: A MaterialLayer object

-> m MaterialWrapMode

Returns: the wrap mode value for the t coordinate.

Deprecated: (Since version 1.16)Use cogl_pipeline_layer_get_wrap_mode_t() instead

Gets the wrap mode for the 't' coordinate of texture lookups on this layer.

Since: 1.4