docs.unity3d.com
    Show / Hide Table of Contents

    Class ManagedNativeArray

    Wraps a managed byte[] in a NativeArray<byte>without copying memory.

    Inheritance
    Object
    ManagedNativeArray
    Namespace: KtxUnity
    Syntax
    public class ManagedNativeArray : IDisposable

    Constructors

    ManagedNativeArray(Byte[])

    Wraps a managed byte[] in a NativeArray<byte>without copying memory.

    Declaration
    public ManagedNativeArray(byte[] original)
    Parameters
    Type Name Description
    Byte[] original

    The original byte[] to convert into a NativeArray<byte>

    Properties

    nativeArray

    Points to the managed NativeArray<byte>.

    Declaration
    public NativeArray<byte> nativeArray { get; }
    Property Value
    Type Description
    Unity.Collections.NativeArray<Byte>

    Methods

    Dispose()

    Disposes the managed NativeArray<byte>.

    Declaration
    public void Dispose()
    Back to top
    Terms of use
    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