docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor FastBufferWriter

    FastBufferWriter(int, Allocator, int)

    Create a FastBufferWriter.

    Declaration
    public FastBufferWriter(int size, Allocator allocator, int maxSize = -1)
    Parameters
    Type Name Description
    int size

    Size of the buffer to create

    Allocator allocator

    Allocator to use in creating it

    int maxSize

    Maximum size the buffer can grow to. If less than size, buffer cannot grow.

    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)