Skip to content

glClearDepth

specify the clear value for the depth buffer

function glClearDepth(float $depth) : void
arguments
  1. float $depth Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
returns

void


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.