Navigation
API > API/Runtime > API/Runtime/OpenGLDrv > API/Runtime/OpenGLDrv/FOpenGLDynamicRHI
- IRHICommandContext::RHISetDepthBounds()
- FOpenGLDynamicRHI::RHISetDepthBounds()
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h |
| Include | #include "OpenGLDrv.h" |
| Source | /Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp |
virtual void RHISetDepthBounds
&40;
float MinDepth,
float MaxDepth
&41;
Remarks
Sets Depth Bounds range with the given min/max depth.
Parameters
| Name | 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 |