Chartbreaker
    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>;
        difference<U>(other: ReadonlySetLike<U>): Set<string>;
        entries(): SetIterator<[string, string]>;
        forEach(
            callbackfn: (
                value: string,
                key: string,
                parent: GPUSupportedFeatures,
            ) => void,
            thisArg?: any,
        ): void;
        has(value: string): boolean;
        intersection<U>(other: ReadonlySetLike<U>): Set<string & U>;
        isDisjointFrom(other: ReadonlySetLike<unknown>): boolean;
        isSubsetOf(other: ReadonlySetLike<unknown>): boolean;
        isSupersetOf(other: ReadonlySetLike<unknown>): boolean;
        keys(): SetIterator<string>;
        symmetricDifference<U>(other: ReadonlySetLike<U>): Set<string | U>;
        union<U>(other: ReadonlySetLike<U>): Set<string | U>;
        values(): SetIterator<string>;
    }

    Hierarchy

    • ReadonlySet<string>
      • GPUSupportedFeatures
    Index

    Properties

    size: number

    Methods

    • Type Parameters

      • U

      Parameters

      Returns Set<string>

      a new Set containing all the elements in this Set which are not also in the argument.

    • 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

    • Type Parameters

      • U

      Parameters

      Returns Set<string & U>

      a new Set containing all the elements which are both in this Set and in the argument.

    • Parameters

      Returns boolean

      a boolean indicating whether this Set has no elements in common with the argument.

    • Parameters

      Returns boolean

      a boolean indicating whether all the elements in this Set are also in the argument.

    • Parameters

      Returns boolean

      a boolean indicating whether all the elements in the argument are also in this Set.

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

      Returns SetIterator<string>

    • Type Parameters

      • U

      Parameters

      Returns Set<string | U>

      a new Set containing all the elements which are in either this Set or in the argument, but not in both.

    • Type Parameters

      • U

      Parameters

      Returns Set<string | U>

      a new Set containing all the elements in this Set and also all the elements in the argument.