TextureViewDescription Struct
Namespace: Stride.GraphicsAssembly: 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. |
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 |
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()