ProtectedconstructorStatic ReadonlyDynamicSignifies that you will modify this buffer fairly often (e.g. every frame). Mutually exclusive with GPUBufferUsage::Static.
Static ReadonlyLoadSignifies that the buffer can be used for arbitrary load/store operations on the GPU.
Static ReadonlyStaticSignifies that you don't plan on modifying the buffer often (or at all) after creation. Modifying such buffer will involve
a larger performance hit. Mutually exclusive with GPUBufferUsage::Dynamic.
StaticaddAdds the flag bits to the enum value.
StaticcombineTakes an array of enum values and combines them as a single enum flag value. This assumes that the
target enum is a flag enum that can have their values combined using bitwise operators.
The array of values to be combined using bitwise-or operator.
The combined enum value.
StaticgetStaticgetStaticgetStaticgetStaticgetGets the name for the enumeration value that matches the specified enumValue.
The enumeration value.
The enumeration value or undefined if not found.
StaticgetStaticgetGets the enumeration value at the specified index.
The index.
The enumeration value or undefined if not found.
StaticgetGets the enumeration values
The enumeration values.
StatichasDetermines if the enum value has the flags set.
StatichasDetermines if the enum bits were changed from previousValue to currentValue.
StaticiterateStaticiterateIterates the enumeration values
The enumeration values.
StaticremoveRemoves the flag bits from the enum value.
StaticsplitTakes a single enum value and splits it into separated flag values set on the value. This
assumes that the target enum is a flag enum that can have their values combined using bitwise operators.
The enum value to have it's value split using bitwise-and operator.
An array of each "bit flag" set in the enum.
Values that represent hardware buffer usage. These usually determine in what type of memory is buffer placed in, however that depends on rendering API.