Search Results for

    Show / Hide Table of Contents

    Class MaterialFeaturesFlags

    Material features flags.

    Inheritance
    System.Object
    MaterialFeaturesFlags
    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

    No flags.

    Declaration
    public const MaterialFeaturesFlags None
    Field Value
    MaterialFeaturesFlags

    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

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat