EMaterialDomain

Defines the domain of a material.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

enum EMaterialDomain
{
    MD_Surface,
    MD_DeferredDecal,
    MD_LightFunction,
    MD_Volume,
    MD_PostProcess,
    MD_UI,
    MD_RuntimeVirtualTexture,
    MD_MAX,
}

Values

Name

Description

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

MD_MAX

Remarks

Defines the domain of a material.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback