Edit

Share via


Vector4.IndexOfWhereAllBitsSet(Vector4) Method

Definition

Determines the index of the first element in a vector that has all bits set.

public:
 static int IndexOfWhereAllBitsSet(System::Numerics::Vector4 vector);
public static int IndexOfWhereAllBitsSet(System.Numerics.Vector4 vector);
static member IndexOfWhereAllBitsSet : System.Numerics.Vector4 -> int
Public Shared Function IndexOfWhereAllBitsSet (vector As Vector4) As Integer

Parameters

vector
Vector4

The vector whose elements are being checked.

Returns

The index into vector representing the first element that had all bits set; otherwise, -1 if no such element exists.

Applies to