Search Results for

    Show / Hide Table of Contents

    Class Graphics

    Graphics device manager that creates, manages and releases graphics device and related objects.

    Inheritance
    System.Object
    Graphics
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [DebugCommand]
    [Unmanaged]
    public static class Graphics : Object

    Properties

    AAQuality

    Anti Aliasing quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality AAQuality { get; set; }
    Property Value
    Quality

    AllowCSMBlending

    Enables cascades splits blending for directional light shadows.

    Declaration
    [Unmanaged]
    public static bool AllowCSMBlending { get; set; }
    Property Value
    System.Boolean

    GammaColorSpace

    Enables Gamma color space workflow (instead of Linear). Gamma color space defines colors with an applied a gamma curve (sRGB) so they are perceptually linear. This makes sense when the output of the rendering represent final color values that will be presented to a non-HDR screen.

    Declaration
    [Unmanaged]
    public static bool GammaColorSpace { get; }
    Property Value
    System.Boolean

    GICascadesBlending

    Enables cascades splits blending for Global Illumination.

    Declaration
    [Unmanaged]
    public static bool GICascadesBlending { get; set; }
    Property Value
    System.Boolean

    GIProbesSpacing

    The Global Illumination probes spacing distance (in world units). Defines the quality of the GI resolution. Adjust to 200-500 to improve performance and lower frequency GI data.

    Declaration
    [Unmanaged]
    public static float GIProbesSpacing { get; set; }
    Property Value
    System.Single

    GIQuality

    The Global Illumination quality. Controls the quality of the GI effect. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality GIQuality { get; set; }
    Property Value
    Quality

    GlobalSDFQuality

    The Global SDF quality. Controls the volume texture resolution and amount of cascades to use. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality GlobalSDFQuality { get; set; }
    Property Value
    Quality

    GlobalSurfaceAtlasResolution

    The Global Surface Atlas resolution. Adjust it if atlas flickers due to overflow (eg. to 4096).

    Declaration
    [Unmanaged]
    public static int GlobalSurfaceAtlasResolution { get; set; }
    Property Value
    System.Int32

    PostProcessSettings

    The default Post Process settings. Can be overriden by PostFxVolume on a level locally, per camera or for a whole map.

    Declaration
    [Unmanaged]
    public static PostProcessSettings PostProcessSettings { get; set; }
    Property Value
    PostProcessSettings

    ShadowMapsQuality

    The shadow maps quality (textures resolution). Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality ShadowMapsQuality { get; set; }
    Property Value
    Quality

    ShadowsQuality

    The shadows filtering quality (sampling). Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality ShadowsQuality { get; set; }
    Property Value
    Quality

    ShadowUpdateRate

    The global scale for all shadow maps update rate. Can be used to slow down shadows rendering frequency on lower quality settings or low-end platforms. Default 1.

    Declaration
    [Unmanaged]
    public static float ShadowUpdateRate { get; set; }
    Property Value
    System.Single

    SpreadWorkload

    Debug utility to toggle graphics workloads amortization over several frames by systems such as shadows mapping, global illumination or surface atlas. Can be used to test performance in the worst-case scenario (eg. camera-cut).

    Declaration
    [Unmanaged]
    public static bool SpreadWorkload { get; set; }
    Property Value
    System.Boolean

    SSAOQuality

    Screen Space Ambient Occlusion quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality SSAOQuality { get; set; }
    Property Value
    Quality

    SSRQuality

    Screen Space Reflections quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality SSRQuality { get; set; }
    Property Value
    Quality

    TestValue

    Debug utility to control visual or rendering features during development. For example, can be used to branch different code paths in shaders for A/B testing (perf or quality).

    Declaration
    [Unmanaged]
    public static float TestValue { get; set; }
    Property Value
    System.Single

    UseVSync

    Enables rendering synchronization with the refresh rate of the display device to avoid "tearing" artifacts.

    Declaration
    [Unmanaged]
    public static bool UseVSync { get; set; }
    Property Value
    System.Boolean

    VolumetricFogQuality

    Volumetric Fog quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3).

    Declaration
    [Unmanaged]
    public static Quality VolumetricFogQuality { get; set; }
    Property Value
    Quality

    In This Article
    Back to top Copyright © 2012-2026 Wojciech Figat