docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlitOctahedralTexture

    BlitOctahedralTexture(CommandBuffer, Vector4, Texture, Vector4, bool, int)

    Blit octahedral texture into the atlas with padding.

    Declaration
    public override void BlitOctahedralTexture(CommandBuffer cmd, Vector4 scaleOffset, Texture texture, Vector4 sourceScaleOffset, bool blitMips = true, int overrideInstanceID = -1)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Target command buffer for graphics commands.

    Vector4 scaleOffset

    Destination scale (.xy) and offset (.zw)

    Texture texture

    Source Texture

    Vector4 sourceScaleOffset

    Source scale (.xy) and offset(.zw).

    bool blitMips

    Blit mip maps.

    int overrideInstanceID

    Override texture instance ID.

    Overrides
    Texture2DAtlas.BlitOctahedralTexture(CommandBuffer, Vector4, Texture, Vector4, bool, int)
    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)