FOpenGLDynamicRHI::RHISetDepthBounds

Override Hierarchy

IRHICommandContext::RHISetDepthBounds()

FOpenGLDynamicRHI::RHISetDepthBounds()

Syntax

virtual void RHISetDepthBounds
(
    float MinDepth,
    float MaxDepth
)

Remarks

Sets Depth Bounds range with the given min/max depth.

Parameters

Parameter

Description

MinDepth

The minimum depth for depth bounds test

MaxDepth

The maximum depth for depth bounds test. The valid values for fMinDepth and fMaxDepth are such that 0 <= fMinDepth <= fMaxDepth <= 1

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLCommands.cpp