Function

Cluttervalue_get_shader_matrix

Declaration [src]

const gfloat*
clutter_value_get_shader_matrix (
  const GValue* value,
  gsize* length
)

Description [src]

Retrieves a matrix of floating point values stored inside the passed GValue. value must have been initialized with CLUTTER_TYPE_SHADER_MATRIX.

Available since:0.8

Parameters

value GValue
 

A GValue.

 The data is owned by the caller of the function.
length gsize*
 

Return location for the number of returned floating point values, or NULL.

 The argument will be set by the function.

Return value

Returns: An array of gfloat
 

The pointer to a matrix of floating point values. The returned value is owned by the GValue and should never be modified or freed.

 The length of the array is in the length argument.
 The data is owned by the called function.