VisioForge (c) 2025

Search Results for

    Class MaxineUpscaleSettings

    Nvidia Maxine upscale effect settings.

    Inheritance
    object
    MaxineUpscaleSettings
    Implements
    IVideoResizeSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: VisioForge.Core.Types
    Assembly: VisioForge.Core.dll
    Syntax
    public class MaxineUpscaleSettings : IVideoResizeSettings

    Constructors

    MaxineUpscaleSettings(string, int, float)

    Initializes a new instance of the MaxineUpscaleSettings class.

    Declaration
    public MaxineUpscaleSettings(string modelsDir, int height, float strength = 0.4)
    Parameters
    Type Name Description
    string modelsDir

    The models dir.

    int height

    The height.

    float strength

    The strength.

    Properties

    Height

    Gets or sets the height.

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    int

    The height.

    ModelsDir

    Gets or sets the models directory of Nvidia Maxine SDK.

    Declaration
    public string ModelsDir { get; set; }
    Property Value
    Type Description
    string

    The models dir.

    Strength

    Gets or sets the strength. Strength 0 implies no enhancement, only upscaling. Strength 1 implies the maximum enhancement.

    Declaration
    public float Strength { get; set; }
    Property Value
    Type Description
    float

    The strength.

    Methods

    CalculateWidth(Size)

    Calculates the width based on height and source resolution.

    Declaration
    public int CalculateWidth(Size sourceSize)
    Parameters
    Type Name Description
    Size sourceSize

    Size of the source.

    Returns
    Type Description
    int

    System.Int32.

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()

    Implements

    IVideoResizeSettings