Skip to main content

Struct WgpuTextureDescriptor

Namespace: VelloSharp
Assembly: VelloSharp.Gpu.dll

public readonly struct WgpuTextureDescriptor

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Dimension

public WgpuTextureDimension Dimension { get; init; }

Property Value

WgpuTextureDimension

Format

public WgpuTextureFormat Format { get; init; }

Property Value

WgpuTextureFormat

Label

public string? Label { get; init; }

Property Value

string?

MipLevelCount

public uint MipLevelCount { get; init; }

Property Value

uint

SampleCount

public uint SampleCount { get; init; }

Property Value

uint

Size

public WgpuExtent3D Size { get; init; }

Property Value

WgpuExtent3D

Usage

public WgpuTextureUsage Usage { get; init; }

Property Value

WgpuTextureUsage

ViewFormats

public IReadOnlyList<WgpuTextureFormat>? ViewFormats { get; init; }

Property Value

IReadOnlyList<WgpuTextureFormat>?