NAME
WebGPU::Direct::Adapter
Methods
enumerateFeatures
Return Type
Integer (size_t)
Arguments
features (WebGPU::Direct::FeatureName)
getLimits
Return Type
Boolean (WGPUBool)
Arguments
limits (WebGPU::Direct::SupportedLimits)
getProperties
Arguments
properties (WebGPU::Direct::AdapterProperties)
hasFeature
Return Type
Boolean (WGPUBool)
Arguments
feature (WebGPU::Direct::FeatureName)
requestDevice
Arguments
descriptor (WebGPU::Direct::DeviceDescriptor) Default: undef
callback (WebGPU::Direct::RequestDeviceCallback (Code reference)) Default: undef
userdata (Scalar (void *)) Default: {}