Artemis Artemis
Artemis Artemis

Search Results for

    Interface ICoreService

    A service that initializes the Core and manages the render loop

    Namespace: Artemis.Core.Services
    Assembly: Artemis.Core.dll
    Syntax
    public interface ICoreService

    Properties

    FrameRate

    The amount of frames rendered each second

    Declaration
    int FrameRate { get; }
    Property Value
    Type Description
    int

    FrameTime

    The time the last frame took to render

    Declaration
    TimeSpan FrameTime { get; }
    Property Value
    Type Description
    TimeSpan

    IsElevated

    Gets a boolean indicating whether Artemis is running in an elevated environment (admin permissions)

    Declaration
    bool IsElevated { get; set; }
    Property Value
    Type Description
    bool

    IsInitialized

    Gets whether the or not the core has been initialized

    Declaration
    bool IsInitialized { get; }
    Property Value
    Type Description
    bool

    ProfileRenderingDisabled

    Gets or sets whether profiles are rendered each frame by calling their Render method

    Declaration
    bool ProfileRenderingDisabled { get; set; }
    Property Value
    Type Description
    bool

    Methods

    Initialize()

    Initializes the core, only call once

    Declaration
    void Initialize()

    Events

    FrameRendered

    Occurs whenever a frame is finished rendering and the render pipeline is closed

    Declaration
    event EventHandler<FrameRenderedEventArgs> FrameRendered
    Event Type
    Type Description
    EventHandler<FrameRenderedEventArgs>

    FrameRendering

    Occurs whenever a frame is rendering, after modules have rendered

    Declaration
    event EventHandler<FrameRenderingEventArgs> FrameRendering
    Event Type
    Type Description
    EventHandler<FrameRenderingEventArgs>

    Initialized

    Occurs the core has finished initializing

    Declaration
    event EventHandler Initialized
    Event Type
    Type Description
    EventHandler
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.