wgpun_DeviceGetFeatures function

  1. @Native<Uint32 Function(Uint64)>(ffi.Uint64)>()
int wgpun_DeviceGetFeatures(
  1. int device
)

Get device features as a bitmask. Bit positions match GpuFeatureName enum order.

Implementation

@ffi.Native<ffi.Uint32 Function(ffi.Uint64)>()
external int wgpun_DeviceGetFeatures(
  int device,
);