Navigation
API > API/Runtime > API/Runtime/Engine
Specifies the axis for computing screen-space derivatives.
This enum is used to indicate whether a partial derivative should be taken along the X or Y screen-space direction, corresponding to HLSL's ddx and ddy functions.
| Name | MIR::EDerivativeAxis |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
namespace MIR
{
enum EDerivativeAxis
{
X,
Y,
}
}
Values
| Name | Remarks |
|---|---|
| X | |
| Y |