Class MaterialFeaturesFlags
Material features flags.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class MaterialFeaturesFlags : Enum
Fields
DisableDepthTest
The depth test is disabled (material ignores depth).
Declaration
public const MaterialFeaturesFlags DisableDepthTest
Field Value
MaterialFeaturesFlags
|
DisableDepthWrite
Disable depth buffer write (won't modify depth buffer value during rendering).
Declaration
public const MaterialFeaturesFlags DisableDepthWrite
Field Value
MaterialFeaturesFlags
|
DisableDistortion
The flag used to disable distortion effect (light refraction). The Forward Pass materials option.
Declaration
public const MaterialFeaturesFlags DisableDistortion
Field Value
MaterialFeaturesFlags
|
DisableFog
The flag used to disable fog. The Forward Pass materials option.
Declaration
public const MaterialFeaturesFlags DisableFog
Field Value
MaterialFeaturesFlags
|
DisableReflections
The flag used to disable reflections. The Forward Pass materials option.
Declaration
public const MaterialFeaturesFlags DisableReflections
Field Value
MaterialFeaturesFlags
|
DitheredLODTransition
The flag used to indicate that material uses dithered model LOD transition for smoother LODs switching.
Declaration
public const MaterialFeaturesFlags DitheredLODTransition
Field Value
MaterialFeaturesFlags
|
GlobalIllumination
The flag used to enable sampling Global Illumination in material (eg. light probes or volumetric lightmap). The Forward Pass materials option.
Declaration
public const MaterialFeaturesFlags GlobalIllumination
Field Value
MaterialFeaturesFlags
|
InputWorldSpaceNormal
The flag used to indicate that material input normal vector is defined in the world space rather than tangent space.
Declaration
public const MaterialFeaturesFlags InputWorldSpaceNormal
Field Value
MaterialFeaturesFlags
|
None
PixelNormalOffsetRefraction
The flag used to enable refraction offset based on the difference between the per-pixel normal and the per-vertex normal. Useful for large water-like surfaces.
Declaration
public const MaterialFeaturesFlags PixelNormalOffsetRefraction
Field Value
MaterialFeaturesFlags
|
ScreenSpaceReflections
The flag used to enable high-quality reflections based on the screen space raytracing. Useful for large water-like surfaces. The Forward Pass materials option.
Declaration
public const MaterialFeaturesFlags ScreenSpaceReflections
Field Value
MaterialFeaturesFlags
|
value__
Declaration
public uint value__
Field Value
System.UInt32
|
Wireframe
The wireframe material.
Declaration
public const MaterialFeaturesFlags Wireframe
Field Value
MaterialFeaturesFlags
|