docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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 true if all the bits of this BitArray are set to 0. Returns false otherwise.

    allTrue

    Return true if all the bits of this BitArray are set to 1. Returns false otherwise.

    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.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)