Navigation
API > API/Runtime > API/Runtime/RHI
| Name | ERHIZBuffer |
| Type | enum |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include Path | #include "RHIDefinitions.h" |
Syntax
enum ERHIZBuffer
{
FarPlane = 0,
NearPlane = 1,
IsInverted = (int32)((int32)ERHIZBuffer::FarPlane < (int32)ERHIZBuffer::NearPlane),
}
Values
| Name | Remarks |
|---|---|
| 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 |