std1.0.0-beta-7 SafeC docs

std :: ml::webgpu_api

Struct std::WGPURequestAdapterOptions

#include <std/ml/webgpu_api.h> source

struct WGPURequestAdapterOptions {
    struct WGPUChainedStruct* nextInChain;
    int featureLevel;
    int powerPreference;
    unsigned int forceFallbackAdapter;
    int backendType;
    WGPUSurface_* compatibleSurface;
}

Fields

§struct WGPUChainedStruct* nextInChainsource
§int featureLevelsource
§int powerPreferencesource
§unsigned int forceFallbackAdaptersource
§int backendTypesource
§WGPUSurface_* compatibleSurfacesource