get_viewport4fv


Description:

public void get_viewport4fv (out float[] viewport)

Queries the x, y, width and height components of the current viewport as set using set_viewport or the default values which are 0, 0, framebuffer_width and framebuffer_height.

The values are written into the given viewport array.

Parameters:

this

A Framebuffer

viewport

A pointer to an array of 4 floats to receive the (x, y, width, height) components of the current viewport.