Class PicoPiBulkUpdateQueue
Represents a generic UpdateQueue<TIdentifier, TData> using an object as the key and a color as the value.
Inheritance
PicoPiBulkUpdateQueue
Inherited Members
Namespace: RGB.NET.Devices.PicoPi
Assembly: RGB.NET.Devices.PicoPi.dll
Syntax
public sealed class PicoPiBulkUpdateQueue : UpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Remarks
Using this requires the libusb driver to be installed!
Constructors
| Edit this page View SourcePicoPiBulkUpdateQueue(IDeviceUpdateTrigger, PicoPiSDK, int, int)
Initializes a new instance of the PicoPiBulkUpdateQueue class.
Declaration
public PicoPiBulkUpdateQueue(IDeviceUpdateTrigger updateTrigger, PicoPiSDK sdk, int channel, int ledCount)
Parameters
Type | Name | Description |
---|---|---|
IDeviceUpdateTrigger | updateTrigger | The update trigger used by this queue. |
PicoPiSDK | sdk | The sdk used to access the device. |
int | channel | The channel to update. |
int | ledCount | The maximum amount of leds to update. |
Methods
| Edit this page View SourceUpdate(in ReadOnlySpan<(object key, Color color)>)
Performs the update this queue is responsible for.
Declaration
protected override bool Update(in ReadOnlySpan<(object key, Color color)> dataSet)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<(object key, Color color)> | dataSet | The set of data that needs to be updated. |
Returns
Type | Description |
---|---|
bool |