get_viewport


Description:


public void get_viewport (float[] v)

Stores the current viewport in v.

Note:

Use cogl_framebuffer_get_viewport4fv instead

v[0] and v[1] get the x and y position of the viewport and v[2] and v[3] get the width and height.

Parameters:

v

pointer to a 4 element array of floats to receive the viewport dimensions.


Namespace: Cogl
Package: cogl-1.0