Method

CoglPipelineset_blend_constant

since: 2.0

Declaration [src]

void
cogl_pipeline_set_blend_constant (
  CoglPipeline* pipeline,
  const CoglColor* constant_color
)

Description [src]

When blending is setup to reference a CONSTANT blend factor then blending will depend on the constant set with this function.

Stability: Unstable

Available since: 2.0

Parameters

constant_color

Type: CoglColor

The constant color you want.

The data is owned by the caller of the function.