get_depth_texture


Description:

public weak Texture get_depth_texture ()

Retrieves the depth buffer of this as a Texture.

You need to call cogl_framebuffer_get_depth_texture(fb, TRUE); before using this function.

<note>Calling this function implicitely allocates the framebuffer.</note> <note>The texture returned stays valid as long as the framebuffer stays valid.</note>

Parameters:

this

A Framebuffer

Returns:

the depth texture