Struct HDUtils.PackedMipChainInfo | High Definition RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Struct HDUtils.PackedMipChainInfo

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public struct PackedMipChainInfo

    Fields

    mipLevelCount

    Declaration
    public int mipLevelCount
    Field Value
    Type Description
    Int32

    mipLevelOffsets

    Declaration
    public Vector2Int[] mipLevelOffsets
    Field Value
    Type Description
    Vector2Int[]

    mipLevelSizes

    Declaration
    public Vector2Int[] mipLevelSizes
    Field Value
    Type Description
    Vector2Int[]

    textureSize

    Declaration
    public Vector2Int textureSize
    Field Value
    Type Description
    Vector2Int

    Methods

    Allocate()

    Declaration
    public void Allocate()

    ComputePackedMipChainInfo(Vector2Int)

    Declaration
    public void ComputePackedMipChainInfo(Vector2Int viewportSize)
    Parameters
    Type Name Description
    Vector2Int viewportSize

    GetOffsetBufferData(ComputeBuffer)

    Declaration
    public ComputeBuffer GetOffsetBufferData(ComputeBuffer mipLevelOffsetsBuffer)
    Parameters
    Type Name Description
    ComputeBuffer mipLevelOffsetsBuffer
    Returns
    Type Description
    ComputeBuffer
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023