Class ChromeGpuModes
Chrome GPU hardware utilization when rendering HTML to PDF
Inheritance
Namespace: IronPdf.Engines.Chrome
Assembly: IronPdf.dll
Syntax
public sealed class ChromeGpuModes : Enum
The ChromeGpuModes enumeration in IronPDF controls how the embedded Chromium engine uses GPU hardware when rendering HTML to PDF, and is assigned via Installation.ChromeGpuMode.
It belongs to the IronPdf.Engines.Chrome namespace and exposes four values: Disabled, Software, Hardware, and HardwareFull. Most servers stay on Disabled or Software; Hardware unlocks WebGL and shader-based content.
See Render WebGL Sites for a complete Hardware-mode setup.
Fields
Disabled
Disable GPU hardware utilization
Declaration
public const ChromeGpuModes Disabled
Field Value
| Type | Description |
|---|---|
| ChromeGpuModes |
Hardware
Enable hardware acceleration
Declaration
public const ChromeGpuModes Hardware
Field Value
| Type | Description |
|---|---|
| ChromeGpuModes |
HardwareFull
Enable hardware acceleration with Vulkan features
Declaration
public const ChromeGpuModes HardwareFull
Field Value
| Type | Description |
|---|---|
| ChromeGpuModes |
Software
Enable software acceleration
Declaration
public const ChromeGpuModes Software
Field Value
| Type | Description |
|---|---|
| ChromeGpuModes |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |