Table of Contents

Struct TextureViewDescription

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

View description of a Texture.

public struct TextureViewDescription
Inherited Members

Fields

ArraySlice

The array slice index.

public int ArraySlice

Field Value

int

Flags

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

public TextureFlags Flags

Field Value

TextureFlags

Format

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

public PixelFormat Format

Field Value

PixelFormat

MipLevel

The mip level index.

public int MipLevel

Field Value

int

Type

The ViewType (single mip, band, or full)

public ViewType Type

Field Value

ViewType

Methods

ToStagingDescription()

Gets a staging compatible description of this instance.

public TextureViewDescription ToStagingDescription()

Returns

TextureViewDescription

TextureViewDescription.