wgpun_AdapterGetFeatures function

  1. @Native<Uint32 Function(Uint64)>(ffi.Uint64)>()
int wgpun_AdapterGetFeatures(
  1. int adapter
)

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

Implementation

@ffi.Native<ffi.Uint32 Function(ffi.Uint64)>()
external int wgpun_AdapterGetFeatures(
  int adapter,
);