docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PrepareOutputBuffer

    PrepareOutputBuffer(int, int, RenderTextureFormat, RenderTextureReadWrite)

    Create or resize the compute buffer used to store transcoded data.

    Declaration
    protected virtual void PrepareOutputBuffer(int frameWidth, int frameHeight, RenderTextureFormat format, RenderTextureReadWrite colorSpace = RenderTextureReadWrite.Linear)
    Parameters
    Type Name Description
    int frameWidth

    Horizontal size in pixel.

    int frameHeight

    Horizontal size in pixel.

    RenderTextureFormat format

    Color encoding format.

    RenderTextureReadWrite colorSpace

    Linear color space or gamma space.

    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)