GINO Graphics Suite - GINO v9.0  

gEnqDepthMode

Syntax

[C/C++:]
void gEnqDepthMode(int *mode, float *dinit);
[F90:]
subroutine gEnqDepthMode(mode, dinit)

integer, intent(out) :: mode
real, intent(out) :: dinit

Arguments

mode
Depth test mode

= GNEVER, Never display output
= GLESSTHAN, Display if depth < value in depth buffer
= GLESSTHANOREQUALTO, Display if depth <= value in depth buffer
= GEQUALTO, Display if depth = value in depth buffer
= GNOTEQUALTO, Display if depth <> value in depth buffer
= GGREATERTHANEQUALTO, Display if depth >= value in depth buffer
= GGREATERTHAN, Display if depth > value in depth buffer
= GALWAYS, Always display output

dinit
Initial depth buffer setting (0.0 - 1.0)

Description

This routine returns the current or default settings of the depth buffer operation.

See Also

gEnqDepthMode Usage
gSetDepthMode