Struct WgpuShaderModuleDescriptor
Namespace: VelloSharp
Assembly: VelloSharp.Gpu.dll
public readonly struct WgpuShaderModuleDescriptor
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
WgpuShaderModuleDescriptor(string, string?)
public WgpuShaderModuleDescriptor(string wgsl, string? label = null)
Parameters
wgsl
string
label
string?
WgpuShaderModuleDescriptor(ReadOnlyMemory<uint>, string?)
public WgpuShaderModuleDescriptor(ReadOnlyMemory<uint> spirv, string? label = null)
Parameters
spirv
ReadOnlyMemory<uint>
label
string?
Properties
Label
public string? Label { get; }
Property Value
Source
public WgpuShaderModuleSourceKind Source { get; }
Property Value
Spirv
public ReadOnlyMemory<uint> Spirv { get; }
Property Value
Wgsl
public string? Wgsl { get; }