Class CommandListExtensions

Namespace
Elegy.RenderBackend.Extensions
Assembly
Elegy.RenderBackend.dll
public static class CommandListExtensions
Inheritance
CommandListExtensions
Inherited Members

Methods

UpdateBufferFromSpan<T>(CommandList, DeviceBuffer, ReadOnlySpan<T>, int)

Updates a GPU buffer optionally with only the first numElementsToUpdate elements.

public static void UpdateBufferFromSpan<T>(this CommandList commandList, DeviceBuffer buffer, ReadOnlySpan<T> span, int numElementsToUpdate = -1) where T : unmanaged

Parameters

commandList CommandList
buffer DeviceBuffer
span ReadOnlySpan<T>
numElementsToUpdate int

Type Parameters

T