Class ValidationGpuDevice

java.lang.Object
net.neoforged.neoforge.client.blaze3d.validation.ValidationGpuDevice
All Implemented Interfaces:
GpuDevice, GpuDeviceExtension

public class ValidationGpuDevice extends Object implements GpuDevice
The validation GpuDevice is used to ensure that both mods and backends are complying with the B3D API contract correctly.

Validation done by this class includes:

  • Known texture/buffer usage bits
  • Known NonExhaustiveEnum values
  • Validates RenderPipeline precompilation