glClearDepthf Function

Syntax

GL_APICALL void GL_APIENTRY glClearDepthf(
     GLclampf depth
);

Parameters

Name Description
in depth Clear depth value.

Return Values

No values are returned.

Description

Sets the depth value that glClear uses to clear the depth buffer.

Configured values are clamped between 0 and 1. No errors occur in this function.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL