Class AsusUpdateQueue
Represents a generic UpdateQueue<TIdentifier, TData> using an object as the key and a color as the value.
Inherited Members
Namespace: RGB.NET.Devices.Asus
Assembly: RGB.NET.Devices.Asus.dll
Syntax
public sealed class AsusUpdateQueue : UpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Constructors
| Edit this page View SourceAsusUpdateQueue(IDeviceUpdateTrigger, IAuraSyncDevice)
Initializes a new instance of the AsusUpdateQueue class.
Declaration
public AsusUpdateQueue(IDeviceUpdateTrigger updateTrigger, IAuraSyncDevice device)
Parameters
Type | Name | Description |
---|---|---|
IDeviceUpdateTrigger | updateTrigger | The update trigger used by this queue. |
IAuraSyncDevice | device | The SDK-aura-device this device represents. |
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 |