Option Strict On
Option Explicit On

Namespace Nexamas.UI.Rendering

    ''' <summary>
    ''' Official single-pass shadow specification owned by MASSystem/Visual/Shadow.
    ''' Materials and component painters consume this contract; they do not define shadow payloads.
    ''' </summary>
    Friend Structure MASShadowSpec
        Friend SigmaDip As Single
        Friend Alpha As Byte
        Friend OffsetYDip As Single
        Friend PadMinPx As Integer
        Friend PadSigmaMul As Single

        Friend Property SigmaPxDip As Single
            Get
                Return SigmaDip
            End Get
            Set(value As Single)
                SigmaDip = value
            End Set
        End Property

        Friend Property OffsetYPxDip As Single
            Get
                Return OffsetYDip
            End Get
            Set(value As Single)
                OffsetYDip = value
            End Set
        End Property
    End Structure

End Namespace
