Trilium Frontend API
    Preparing search index...

    Interface GPUSupportedFeatures

    The GPUSupportedFeatures interface of the WebGPU API is a Set-like object that describes additional functionality supported by a GPUAdapter. Available only in secure contexts.

    MDN Reference

    interface GPUSupportedFeatures {
        size: number;
        "[iterator]"(): SetIterator<string>;
        entries(): SetIterator<[string, string]>;
        forEach(
            callbackfn: (
                value: string,
                key: string,
                parent: GPUSupportedFeatures,
            ) => void,
            thisArg?: any,
        ): void;
        has(value: string): boolean;
        keys(): SetIterator<string>;
        values(): SetIterator<string>;
    }

    Hierarchy

    • ReadonlySet<string>
      • GPUSupportedFeatures
    Index

    Properties

    size: number

    Methods

    • Iterates over values in the set.

      Returns SetIterator<string>

    • Returns an iterable of [v,v] pairs for every value v in the set.

      Returns SetIterator<[string, string]>

    • Parameters

      Returns void

    • Parameters

      • value: string

      Returns boolean

    • Despite its name, returns an iterable of the values in the set.

      Returns SetIterator<string>

    • Returns an iterable of values in the set.

      Returns SetIterator<string>