Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    StreamingTexture.MipInfo Struct

    Namespace: Stride.Streaming
    Assembly: Stride.Rendering.dll

    Helper structure used to pre-cache StreamingTexture mip maps metadata. Used to improve streaming performance (smaller CPU usage).

    protected struct MipInfo
    Name Description
    Constructors
    MipInfo(Int32, Int32, Int32, Int32, Int32)
    Fields
    Height
    RowPitch
    SlicePitch
    TotalSize
    Width
    | Improve this Doc View Source

    Constructors


    MipInfo(Int32, Int32, Int32, Int32, Int32)

    public MipInfo(int width, int height, int rowPitch, int slicePitch, int arraySize)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    System.Int32 rowPitch
    System.Int32 slicePitch
    System.Int32 arraySize
    | Improve this Doc View Source

    Fields


    Height

    public int Height
    Field Value
    Type Description
    System.Int32

    RowPitch

    public int RowPitch
    Field Value
    Type Description
    System.Int32

    SlicePitch

    public int SlicePitch
    Field Value
    Type Description
    System.Int32

    TotalSize

    public int TotalSize
    Field Value
    Type Description
    System.Int32

    Width

    public int Width
    Field Value
    Type Description
    System.Int32

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation