DeviceType .java

com.mojang.renderpearl.api.device.DeviceType (enum, 14 lines): enum with 5 constants. members: OTHER, INTEGRATED, DISCRETE, VIRTUAL, CPU. imports: EnvType.

com.mojang.renderpearl.api.deviceenum14 linesclient219 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (2)

INTEGRATED
VIRTUAL

Full Source

DeviceType.java14 lines · Minecraft 26.3 · verbatim
1
package com.mojang.renderpearl.api.device;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
6
@Environment(EnvType.CLIENT)
7
public enum DeviceType {
8
	OTHER,
9
	INTEGRATED,
10
	DISCRETE,
11
	VIRTUAL,
12
	CPU;
13
}
14

Decompiled Minecraft 26.3 source of DeviceType (com/mojang/renderpearl/api/device/DeviceType.java) with Mojang official mappings, stored verbatim on the site.