 | gl.GetDepthRange Method |
Gets the near and far clipping planes.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void GetDepthRange(
out float nearVal,
out float farVal
)
Public Shared Sub GetDepthRange (
<OutAttribute> ByRef nearVal As Single,
<OutAttribute> ByRef farVal As Single
)
public:
static void GetDepthRange(
[OutAttribute] float% nearVal,
[OutAttribute] float% farVal
)
static member GetDepthRange :
nearVal : float32 byref *
farVal : float32 byref -> unit
Parameters
- nearVal
- Type: System.Single
is set to the mapping of the near clipping plane. - farVal
- Type: System.Single
is set to the mapping of the far clipping plane.
RemarksOpenGL API: glGetFloatv(GL_DEPTH_RANGE)
See Also