docs.unity3d.com
Search Results for

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)