logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SetCurrentQualityLevel

    Use case for setting the current quality level in the game graphics service.

    Inheritance
    object
    SetCurrentQualityLevel
    Implements
    ISyncUseCase<SetCurrentQualityLevelInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameGraphics.Application.UseCases
    Assembly: Serenity.GameGraphics.Application.dll
    Syntax
    public class SetCurrentQualityLevel : ISyncUseCase<SetCurrentQualityLevelInput>, IUseCase

    Constructors

    SetCurrentQualityLevel(IGameGraphicsService)

    Initializes a new instance of the SetCurrentQualityLevel class.

    Declaration
    public SetCurrentQualityLevel(IGameGraphicsService service)
    Parameters
    Type Name Description
    IGameGraphicsService service

    The game graphics service instance.

    Methods

    Execute(SetCurrentQualityLevelInput)

    Executes the use case to set the current quality level.

    Declaration
    public void Execute(SetCurrentQualityLevelInput input)
    Parameters
    Type Name Description
    SetCurrentQualityLevelInput input

    The input data transfer object containing the quality level information.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved