Class Graphics
Graphics device manager that creates, manages and releases graphics device and related objects.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public static class Graphics : Object
Properties
AAQuality
Anti Aliasing quality setting.
Declaration
[Unmanaged]
public static Quality AAQuality { get; set; }
Property Value
Quality
|
AllowCSMBlending
Enables cascades splits blending for directional light shadows. [Deprecated in v1.9]
Declaration
[Unmanaged]
public static bool AllowCSMBlending { get; set; }
Property Value
System.Boolean
|
GICascadesBlending
Enables cascades splits blending for Global Illumination.
Declaration
[Unmanaged]
public static bool GICascadesBlending { get; set; }
Property Value
System.Boolean
|
GIQuality
The Global Illumination quality. Controls the quality of the GI effect.
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.
Declaration
[Unmanaged]
public static Quality GlobalSDFQuality { get; set; }
Property Value
Quality
|
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).
Declaration
[Unmanaged]
public static Quality ShadowMapsQuality { get; set; }
Property Value
Quality
|
ShadowsQuality
The shadows quality.
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.
Declaration
[Unmanaged]
public static Quality SSAOQuality { get; set; }
Property Value
Quality
|
SSRQuality
Screen Space Reflections quality setting.
Declaration
[Unmanaged]
public static Quality SSRQuality { get; set; }
Property Value
Quality
|
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.
Declaration
[Unmanaged]
public static Quality VolumetricFogQuality { get; set; }
Property Value
Quality
|