glDepthRangef Function

Syntax

GL_APICALL void GL_APIENTRY glDepthRangef(
     GLclampf zNear,
     GLclampf zFar
);

Parameters

Name Description
in zNear Setting for the near plane
in zFar Setting for the far plane

Return Values

No values are returned.

Description

Sets the range of depth values for the near and far clipping planes during the conversion from device coordinates to window coordinates following the perspective divide.

No errors occur in this function.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL