API ReferenceSandbox
GpuBuffer<T>class
A typed GpuBuffer
Constructors1
Showing 1 constructors
public GpuBuffer<T>(int elementCount, Sandbox.GpuBuffer.UsageFlags flags = 32, string debugName = null)
| Parameter | Type | Description |
|---|---|---|
| elementCount | int | — |
| flags = 32 | UsageFlags | — |
| debugName = null | string | — |
No results match this filter.
Methods8
Showing 8 methods
public void SetData(System.Span`1<T> data, int elementOffset = 0)
| Parameter | Type | Description |
|---|---|---|
| data | Span<T> | — |
| elementOffset = 0 | int | — |
Returns:
void—No results match this filter.