DeviceFeatures .java

com.mojang.renderpearl.api.device.DeviceFeatures (record): members: wireframeFillMode, shaderDrawParameters, multiDrawDirectInterleaved, multiDrawIndirect.

com.mojang.renderpearl.api.devicerecord18 linesclient419 B

API Surface (1)

record DeviceFeatures(boolean wireframeFillMode, boolean shaderDrawParameters, boolean multiDrawDirectInterleaved, boolean multiDrawDirectSeparate, boolean multiDrawIndirect, boolean drawIndirect, boolean nonZeroFirstInstance, boolean persistentMapping)

Full Source

DeviceFeatures.java18 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 record DeviceFeatures(
8
	boolean wireframeFillMode,
9
	boolean shaderDrawParameters,
10
	boolean multiDrawDirectInterleaved,
11
	boolean multiDrawDirectSeparate,
12
	boolean multiDrawIndirect,
13
	boolean drawIndirect,
14
	boolean nonZeroFirstInstance,
15
	boolean persistentMapping
16
) {
17
}
18

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