Class WgpuQueue
Namespace: VelloSharp
Assembly: VelloSharp.Gpu.dll
public sealed class WgpuQueue : IDisposable
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~WgpuQueue()
protected ~WgpuQueue()
Submit(ReadOnlySpan<WgpuCommandBuffer>)
public ulong Submit(ReadOnlySpan<WgpuCommandBuffer> commandBuffers)
Parameters
commandBuffers
ReadOnlySpan<WgpuCommandBuffer>
Returns
WriteBuffer(WgpuBuffer, ulong, ReadOnlySpan<byte>)
public void WriteBuffer(WgpuBuffer buffer, ulong offset, ReadOnlySpan<byte> data)
Parameters
buffer
WgpuBuffer
offset
ulong
data
ReadOnlySpan<byte>
WriteTexture(WgpuImageCopyTexture, ReadOnlySpan<byte>, WgpuTextureDataLayout, WgpuExtent3D)
public void WriteTexture(WgpuImageCopyTexture destination, ReadOnlySpan<byte> data, WgpuTextureDataLayout dataLayout, WgpuExtent3D size)
Parameters
destination
WgpuImageCopyTexture
data
ReadOnlySpan<byte>
dataLayout
WgpuTextureDataLayout
size
WgpuExtent3D