Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
Syntax
enum ECompiledPartialDerivativeVariation
{
CompiledPDV_FiniteDifferences,
CompiledPDV_Analytic,
CompiledPDV_MAX,
}
Values
| Name | Description |
|---|---|
| CompiledPDV_FiniteDifferences | |
| CompiledPDV_Analytic | |
| CompiledPDV_MAX |
Remarks
Enum that contains entries for the ways that material properties can be compiled with partial derivative calculations. Standard material shaders using the automatic hardware FiniteDifferences, Nanite uses Analytic, and we will likely need to add a separate one for raytracing at a later date.