docs.unity.cn
    Show / Hide Table of Contents

    Method GetUnsafeReadOnlyPtr

    GetUnsafeReadOnlyPtr()

    Gets an unsafe read-only pointer to the contents of the buffer.

    Declaration
    public void *GetUnsafeReadOnlyPtr()
    Returns
    Type Description
    Void*

    A typed, unsafe pointer to the first element in the buffer.

    Remarks

    This function can only be called in unsafe code contexts.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use