Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    TextureViewDescription Struct

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    View description of a Texture.

    public struct TextureViewDescription
    Name Description
    Fields
    ArraySlice

    The array slice index.

    Flags

    The flags used for the view. If None then the view is using the flags from the texture.

    Format

    The format of the view (used for the ShaderResource or Unordered access).

    MipLevel

    The mip level index.

    Type

    The ViewType (single mip, band, or full)

    Methods
    ToStagingDescription()

    Gets a staging compatible description of this instance.

    | Improve this Doc View Source

    Fields


    ArraySlice

    The array slice index.

    public int ArraySlice
    Field Value
    Type Description
    System.Int32

    Flags

    The flags used for the view. If None then the view is using the flags from the texture.

    public TextureFlags Flags
    Field Value
    Type Description
    TextureFlags

    Format

    The format of the view (used for the ShaderResource or Unordered access).

    public PixelFormat Format
    Field Value
    Type Description
    PixelFormat

    MipLevel

    The mip level index.

    public int MipLevel
    Field Value
    Type Description
    System.Int32

    Type

    The ViewType (single mip, band, or full)

    public ViewType Type
    Field Value
    Type Description
    ViewType
    | Improve this Doc View Source

    Methods


    ToStagingDescription()

    Gets a staging compatible description of this instance.

    public TextureViewDescription ToStagingDescription()
    Returns
    Type Description
    TextureViewDescription

    TextureViewDescription.


    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