Package com.ironsoftware.ironpdf
Enum Settings.ChromeGpuModes
- java.lang.Object
-
- java.lang.Enum<Settings.ChromeGpuModes>
-
- com.ironsoftware.ironpdf.Settings.ChromeGpuModes
-
- All Implemented Interfaces:
Serializable
,Comparable<Settings.ChromeGpuModes>
- Enclosing class:
- Settings
public static enum Settings.ChromeGpuModes extends Enum<Settings.ChromeGpuModes>
Chrome GPU hardware utilization when rendering HTML to PDF
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Disabled
Disable GPU hardware utilizationHardware
Enable hardware accelerationHardwareFull
Enable hardware acceleration with Vulkan featuresSoftware
Enable software acceleration
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Settings.ChromeGpuModes
valueOf(String name)
Returns the enum constant of this type with the specified name.static Settings.ChromeGpuModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Disabled
public static final Settings.ChromeGpuModes Disabled
Disable GPU hardware utilization
-
Software
public static final Settings.ChromeGpuModes Software
Enable software acceleration
-
Hardware
public static final Settings.ChromeGpuModes Hardware
Enable hardware acceleration
-
HardwareFull
public static final Settings.ChromeGpuModes HardwareFull
Enable hardware acceleration with Vulkan features
-
-
Method Detail
-
values
public static Settings.ChromeGpuModes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Settings.ChromeGpuModes c : Settings.ChromeGpuModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Settings.ChromeGpuModes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-