Class Graphics
Graphics device manager that creates, manages and releases graphics device and related objects.
Inheritance
Assembly: FlaxEngine.dll
File: Engine/Graphics/Graphics.h
Syntax
public class Graphics
Fields
AAQuality
AllowCSMBlending
Enables cascades splits blending for directional light shadows.
Declaration
public static bool AllowCSMBlending
Field Value
bool
|
GICascadesBlending
Enables cascades splits blending for Global Illumination.
Declaration
public static bool GICascadesBlending
Field Value
bool
|
GIQuality
The Global Illumination quality. Controls the quality of the GI effect.
Declaration
public static Quality GIQuality
Field Value
Quality
|
GlobalSDFQuality
The Global SDF quality. Controls the volume texture resolution and amount of cascades to use.
Declaration
public static Quality GlobalSDFQuality
Field 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
public static PostProcessSettings PostProcessSettings
Field Value
PostProcessSettings
|
ShadowMapsQuality
The shadow maps quality (textures resolution).
Declaration
public static Quality ShadowMapsQuality
Field Value
Quality
|
ShadowsQuality
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
public static float ShadowUpdateRate
Field Value
float
|
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
public static bool SpreadWorkload
Field Value
bool
|
SSAOQuality
Screen Space Ambient Occlusion quality setting.
Declaration
public static Quality SSAOQuality
Field Value
Quality
|
SSRQuality
Screen Space Reflections quality setting.
Declaration
public static Quality SSRQuality
Field Value
Quality
|
UseVSync
Enables rendering synchronization with the refresh rate of the display device to avoid "tearing" artifacts.
Declaration
public static bool UseVSync
Field Value
bool
|
VolumetricFogQuality
Volumetric Fog quality setting.
Declaration
public static Quality VolumetricFogQuality
Field Value
Quality
|
Methods
DisposeDevice()
Disposes the device.
Declaration
public static void DisposeDevice()