glDepthRangeIndexed

specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport

Signature

glDepthRangeIndexed( GLuint ( index ) , GLdouble ( nearVal ) , GLdouble ( farVal ) )-> void
glDepthRangeIndexed( index , n , f )

Parameters

VariablesDescription
index
Specifies the index of the viewport whose depth range to update.
nearVal
Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
farVal
Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.