GraphicsDevice
Provides the main entry point for the NVIDIA Module.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.NVIDIA
- Assembly: UnityEngine.NVIDIAModule
public class GraphicsDevice
Remarks
Use this to interact with specific NVIDIA graphics card features.
Static Properties
Property | Description |
|---|---|
| device | Gets the device created by o:GraphicsDevice.CreateGraphicsDevice(). |
| version | Gets the version that corresponds to Unity's host plugin that manages the NVIDIA.NVUnityPlugin official library. |
Methods
Method | Description |
|---|---|
| CreateDebugView | Creates an object containing debug information of the device. |
| CreateFeature | Creates a specific NVIDIA feature. |
| DeleteDebugView | Deletes a debug view created with GraphicsDevice.CreateDebugView. |
| DestroyFeature | Destroys a specific feature created with GraphicsDevice.CreateFeature. |
| ExecuteDLSS | Records the execution of DLSS into a rendering command buffer. |
| GetOptimalSettings | Returns a structure containing the optimal settings for a specific target resolution and quality. |
| IsFeatureAvailable | Checks if the current NVIDIA graphics card supports the feature you specify using the GraphicsDeviceFeature enum. |
| UpdateDebugView | Updates a snapshot of the debug information for the view object passed. |
Static Methods
Method | Description |
|---|---|
| CreateGraphicsDevice | Creates the main API object. Call this method only once in your application. |
| GetAvailableDLSSPresetsForQuality | Gets a bit mask of available presets for the given DLSSQuality. |
| GetDLSSPresetExplanation | Gets the explanation for the given preset. |