Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ViewType Enum

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

    Defines how a view is selected from a resource.

    public enum ViewType
    Remarks

    This selection model is taken from Nuaj by Patapom (http://wiki.patapom.com/index.php/Nuaj)

    Fields

    Name Description
    ArrayBand

    Gets a band texture view at the specified index in the mip hierarchy and in the array of textures The texture view contains all the mip level texture elements from the specified mip level and array index

    Full

    Gets a texture view for the whole texture for all mips/arrays dimensions.

    MipBand

    Gets a band texture view at the specified index in the mip hierarchy and in the array of textures The texture view contains all the array texture elements from the specified mip level and array index

    Single

    Gets a single texture view at the specified index in the mip hierarchy and in the array of textures The texture view contains a single texture element at the specified mip level and array index

    Extension Methods

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

    Back to top

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