Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include | #include "RHIDefinitions.h" |
Syntax
enum ERHIZBuffer
{
FarPlane = 0,
NearPlane = 1,
IsInverted = (int32)((int32)ERHIZBuffer::FarPlane < (int32)ERHIZBuffer::NearPlane),
}
Values
| Name | Description |
|---|---|
| FarPlane | Before changing this, make sure all math & shader assumptions are correct! Also wrap your C++ assumptions with static_assert(ERHIZBuffer::IsInvertedZBuffer(), ...); Shader-wise, make sure to update Definitions.usf, HAS_INVERTED_Z_BUFFER |
| NearPlane | |
| IsInverted | 'bool' for knowing if the API is using Inverted Z buffer |