docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlitCubeToOctahedral2DQuadSingleChannel

    BlitCubeToOctahedral2DQuadSingleChannel(CommandBuffer, Texture, Vector4, int)

    Blit a cube texture into 2d texture as octahedral quad. (projection) Conversion between single and multi channel formats. RGB(A) to YYYY (luminance). R to RRRR. A to AAAA.

    Declaration
    public static void BlitCubeToOctahedral2DQuadSingleChannel(CommandBuffer cmd, Texture source, Vector4 scaleBiasRT, int mipLevelTex)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command buffer used for rendering.

    Texture source

    Source texture.

    Vector4 scaleBiasRT

    Scale and bias for the output texture.

    int mipLevelTex

    Mip level to blit.

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