Navigation
API > API/Runtime > API/Runtime/Engine
Defines the domain of a material.
| Name | EMaterialDomain |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialDomain.h |
| Include Path | #include "MaterialDomain.h" |
Syntax
enum EMaterialDomain
{
MD_Surface,
MD_DeferredDecal,
MD_LightFunction,
MD_Volume,
MD_PostProcess,
MD_UI,
MD_RuntimeVirtualTexture,
MD_MAX,
}
Values
| Name | Remarks |
|---|---|
| MD_Surface | The material's attributes describe a 3d surface. |
| MD_DeferredDecal | The material's attributes describe a deferred decal, and will be mapped onto the decal's frustum. |
| MD_LightFunction | The material's attributes describe a light's distribution. |
| MD_Volume | The material's attributes describe a 3d volume. |
| MD_PostProcess | The material will be used in a custom post process pass. |
| MD_UI | The material will be used for UMG or SlateUI |
| MD_RuntimeVirtualTexture | The material will be used for runtime virtual texture (Deprecated). |
| MD_MAX |