Search Results for

    Show / Hide Table of Contents

    Struct MaterialInfo

    Structure with basic information about the material surface. It describes how material is reacting on light and which graphical features of it requires to render.

    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Materials/MaterialInfo.h
    Syntax
    public struct MaterialInfo

    Constructors

    MaterialInfo()

    Declaration
    public MaterialInfo()

    MaterialInfo(const MaterialInfo9& other)

    Declaration
    public MaterialInfo(const MaterialInfo9& other)
    Parameters
    MaterialInfo9 other

    Fields

    BlendMode

    The blending mode for rendering.

    Declaration
    public MaterialBlendMode BlendMode
    Field Value
    MaterialBlendMode

    CullMode

    The primitives culling mode.

    Declaration
    public CullMode CullMode
    Field Value
    CullMode

    DecalBlendingMode

    The decal material blending mode.

    Declaration
    public MaterialDecalBlendingMode DecalBlendingMode
    Field Value
    MaterialDecalBlendingMode

    Domain

    The material shader domain.

    Declaration
    public MaterialDomain Domain
    Field Value
    MaterialDomain

    FeaturesFlags

    The features usage flags.

    Declaration
    public MaterialFeaturesFlags FeaturesFlags
    Field Value
    MaterialFeaturesFlags

    MaskThreshold

    The mask threshold.

    Declaration
    public float MaskThreshold
    Field Value
    float

    MaxTessellationFactor

    The maximum tessellation factor (used only if material uses tessellation).

    Declaration
    public int32 MaxTessellationFactor
    Field Value
    int32

    OpacityThreshold

    The opacity threshold.

    Declaration
    public float OpacityThreshold
    Field Value
    float

    PostFxLocation

    The post fx material rendering location.

    Declaration
    public MaterialPostFxLocation PostFxLocation
    Field Value
    MaterialPostFxLocation

    ShadingModel

    The shading mode for lighting.

    Declaration
    public MaterialShadingModel ShadingModel
    Field Value
    MaterialShadingModel

    TessellationMode

    The tessellation mode.

    Declaration
    public TessellationMethod TessellationMode
    Field Value
    TessellationMethod

    TransparentLightingMode

    The transparent material lighting mode.

    Declaration
    public MaterialTransparentLightingMode TransparentLightingMode
    Field Value
    MaterialTransparentLightingMode

    UsageFlags

    The usage flags.

    Declaration
    public MaterialUsageFlags UsageFlags
    Field Value
    MaterialUsageFlags

    Methods

    operator==(const MaterialInfo& other)

    Declaration
    public bool operator==(const MaterialInfo& other) const
    Parameters
    MaterialInfo other

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat