Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MipMapDescription Class

    Namespace: Stride.Graphics
    Assembly: Stride.dll

    Describes a mipmap.

    System.Object → MipMapDescription
    Derived from MipMapDescription:

    public class MipMapDescription : IEquatable<MipMapDescription>
    Name Description
    Constructors
    MipMapDescription(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

    Initializes a new instance of the MipMapDescription class.

    Fields
    Depth

    Depth of this mipmap.

    DepthStride

    DepthStride of this mipmap (number of bytes per depth slice).

    Height

    Height of this mipmap.

    HeightPacked

    Height of this mipmap.

    MipmapSize

    Size in bytes of this whole mipmap.

    RowStride

    RowStride of this mipmap (number of bytes per row).

    Width

    Width of this mipmap.

    WidthPacked

    Width of this mipmap.

    Methods
    Equals(MipMapDescription)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(MipMapDescription, MipMapDescription)

    Implements the ==.

    Inequality(MipMapDescription, MipMapDescription)

    Implements the !=.

    | Improve this Doc View Source

    Constructors


    MipMapDescription(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

    Initializes a new instance of the MipMapDescription class.

    public MipMapDescription(int width, int height, int depth, int rowStride, int depthStride, int widthPacked, int heightPacked)
    Parameters
    Type Name Description
    System.Int32 width

    The width.

    System.Int32 height

    The height.

    System.Int32 depth

    The depth.

    System.Int32 rowStride

    The row stride.

    System.Int32 depthStride

    The depth stride.

    System.Int32 widthPacked
    System.Int32 heightPacked
    | Improve this Doc View Source

    Fields


    Depth

    Depth of this mipmap.

    public readonly int Depth
    Field Value
    Type Description
    System.Int32

    DepthStride

    DepthStride of this mipmap (number of bytes per depth slice).

    public readonly int DepthStride
    Field Value
    Type Description
    System.Int32

    Height

    Height of this mipmap.

    public readonly int Height
    Field Value
    Type Description
    System.Int32

    HeightPacked

    Height of this mipmap.

    public readonly int HeightPacked
    Field Value
    Type Description
    System.Int32

    MipmapSize

    Size in bytes of this whole mipmap.

    public readonly int MipmapSize
    Field Value
    Type Description
    System.Int32

    RowStride

    RowStride of this mipmap (number of bytes per row).

    public readonly int RowStride
    Field Value
    Type Description
    System.Int32

    Width

    Width of this mipmap.

    public readonly int Width
    Field Value
    Type Description
    System.Int32

    WidthPacked

    Width of this mipmap.

    public readonly int WidthPacked
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Methods


    Equals(MipMapDescription)

    public bool Equals(MipMapDescription other)
    Parameters
    Type Name Description
    MipMapDescription other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(MipMapDescription, MipMapDescription)

    Implements the ==.

    public static bool operator ==(MipMapDescription left, MipMapDescription right)
    Parameters
    Type Name Description
    MipMapDescription left

    The left.

    MipMapDescription right

    The right.

    Returns
    Type Description
    System.Boolean

    The result of the operator.


    Inequality(MipMapDescription, MipMapDescription)

    Implements the !=.

    public static bool operator !=(MipMapDescription left, MipMapDescription right)
    Parameters
    Type Name Description
    MipMapDescription left

    The left.

    MipMapDescription right

    The right.

    Returns
    Type Description
    System.Boolean

    The result of the operator.


    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