Class MaterialDomain
Material domain type. Material domain defines the target usage of the material shader.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class MaterialDomain : Enum
Fields
Decal
The deferred decal material. Can be used to apply custom overlay or surface modifications to the object surfaces in the world.
Declaration
public const MaterialDomain Decal
Field Value
MaterialDomain
|
Deformable
The deformable shader. Can be used only with objects that can be deformed (spline models).
Declaration
public const MaterialDomain Deformable
Field Value
MaterialDomain
|
GUI
The GUI shader. Can be used to draw custom control interface elements or to add custom effects to the GUI.
Declaration
public const MaterialDomain GUI
Field Value
MaterialDomain
|
Particle
The particle shader. Can be used only with particles geometry (sprites, trails and ribbons). Supports reading particle data on a GPU.
Declaration
public const MaterialDomain Particle
Field Value
MaterialDomain
|
PostProcess
The post process material. Can be used to perform custom post-processing of the rendered frame.
Declaration
public const MaterialDomain PostProcess
Field Value
MaterialDomain
|
Surface
The surface material. Can be used to render the scene geometry including models and skinned models.
Declaration
public const MaterialDomain Surface
Field Value
MaterialDomain
|
Terrain
The terrain shader. Can be used only with landscape chunks geometry that use optimized vertex data and support multi-layered blending.
Declaration
public const MaterialDomain Terrain
Field Value
MaterialDomain
|
value__
Declaration
public byte value__
Field Value
System.Byte
|
VolumeParticle
The particle shader used for volumetric effects rendering such as Volumetric Fog.
Declaration
public const MaterialDomain VolumeParticle
Field Value
MaterialDomain
|