docs.unity3d.com
    目次を表示する/隠す

    Class NativeBitArrayUnsafeUtility

    Unsafe helper methods for NativeBitArray.

    Inheritance
    Object
    NativeBitArrayUnsafeUtility
    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public static class NativeBitArrayUnsafeUtility

    Methods

    ConvertExistingDataToNativeBitArray(Void*, Int32, AllocatorManager.AllocatorHandle)

    Returns a bit array with content aliasing a buffer.

    Declaration
    public static NativeBitArray ConvertExistingDataToNativeBitArray(void *ptr, int sizeInBytes, AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    Void* ptr

    A buffer.

    Int32 sizeInBytes

    Size of the buffer in bytes. Must be a multiple of 8.

    AllocatorManager.AllocatorHandle allocator

    The allocator that was used to create the buffer.

    Returns
    Type Description
    NativeBitArray

    A bit array with content aliasing a buffer.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)