Interface IBitArray | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBitArray

    IBitArray interface.

    Namespace: UnityEngine.Rendering
    Syntax
    public interface IBitArray

    Properties

    allFalse

    True if all bits are 0.

    Declaration
    bool allFalse { get; }
    Property Value
    Type Description
    Boolean

    allTrue

    True if all bits are 1.

    Declaration
    bool allTrue { get; }
    Property Value
    Type Description
    Boolean

    capacity

    Number of elements in the bit array.

    Declaration
    uint capacity { get; }
    Property Value
    Type Description
    UInt32

    humanizedData

    Returns the bit array in a human readable form.

    Declaration
    string humanizedData { get; }
    Property Value
    Type Description
    String

    Item[UInt32]

    Returns the state of the bit at a specific index.

    Declaration
    bool this[uint index] { get; set; }
    Parameters
    Type Name Description
    UInt32 index

    Index of the bit.

    Property Value
    Type Description
    Boolean

    State of the bit at the provided index.

    Methods

    BitAnd(IBitArray)

    Bit-wise And operation.

    Declaration
    IBitArray BitAnd(IBitArray other)
    Parameters
    Type Name Description
    IBitArray other

    Bit array with which to the And operation.

    Returns
    Type Description
    IBitArray

    The resulting bit array.

    BitNot()

    Invert the bit array.

    Declaration
    IBitArray BitNot()
    Returns
    Type Description
    IBitArray

    BitOr(IBitArray)

    Bit-wise Or operation.

    Declaration
    IBitArray BitOr(IBitArray other)
    Parameters
    Type Name Description
    IBitArray other

    Bit array with which to the Or operation.

    Returns
    Type Description
    IBitArray

    The resulting bit array.

    In This Article
    • Properties
      • allFalse
      • allTrue
      • capacity
      • humanizedData
      • Item[UInt32]
    • Methods
      • BitAnd(IBitArray)
      • BitNot()
      • BitOr(IBitArray)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023