Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GraphicsDevice

Provides the main entry point for the NVIDIA Module.
Read time 1 minuteLast updated 5 days ago

Definition

public class GraphicsDevice

Remarks

Use this to interact with specific NVIDIA graphics card features.

Static Properties

Property

Description

deviceGets the device created by o:GraphicsDevice.CreateGraphicsDevice().
versionGets the version that corresponds to Unity's host plugin that manages the NVIDIA.NVUnityPlugin official library.

Methods

Method

Description

CreateDebugViewCreates an object containing debug information of the device.
CreateFeatureCreates a specific NVIDIA feature.
DeleteDebugViewDeletes a debug view created with GraphicsDevice.CreateDebugView.
DestroyFeatureDestroys a specific feature created with GraphicsDevice.CreateFeature.
ExecuteDLSSRecords the execution of DLSS into a rendering command buffer.
GetOptimalSettingsReturns a structure containing the optimal settings for a specific target resolution and quality.
IsFeatureAvailableChecks if the current NVIDIA graphics card supports the feature you specify using the GraphicsDeviceFeature enum.
UpdateDebugViewUpdates a snapshot of the debug information for the view object passed.

Static Methods

Method

Description

CreateGraphicsDeviceCreates the main API object. Call this method only once in your application.
GetAvailableDLSSPresetsForQualityGets a bit mask of available presets for the given DLSSQuality.
GetDLSSPresetExplanationGets the explanation for the given preset.