Interface IBitArray
IBitArray interface.
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IBitArray
Properties
Name | Description |
---|---|
this[uint] | An indexer that allows access to the bit at a given index. This provides both read and write access. |
allFalse | Return |
allTrue | Return |
capacity | Gets the capacity of this BitArray. This is the number of bits that are usable. |
humanizedData | Writes the bits in the array in a human-readable form. This is as a string of 0s and 1s packed by 8 bits. This is useful for debugging. |
Methods
Name | Description |
---|---|
BitAnd(IBitArray) | Perform an AND bitwise operation between this BitArray and the one you pass into the function and return the result. Both BitArrays must have the same capacity. This will not change current BitArray values. |
BitNot() | Return the BitArray with every bit inverted. |
BitOr(IBitArray) | Perform an OR bitwise operation between this BitArray and the one you pass into the function and return the result. Both BitArrays must have the same capacity. This will not change current BitArray values. |