Class RazerMousepadUpdateQueue
Represents the update-queue performing updates for razer mousepad devices.
Inheritance
RazerMousepadUpdateQueue
Inherited Members
Namespace: RGB.NET.Devices.Razer
Assembly: RGB.NET.Devices.Razer.dll
Syntax
public sealed class RazerMousepadUpdateQueue : RazerUpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Constructors
| Edit this page View SourceRazerMousepadUpdateQueue(IDeviceUpdateTrigger)
Initializes a new instance of the RazerMousepadUpdateQueue class.
Declaration
public RazerMousepadUpdateQueue(IDeviceUpdateTrigger updateTrigger)
Parameters
Type | Name | Description |
---|---|---|
IDeviceUpdateTrigger | updateTrigger | The update trigger used to update this queue. |
Methods
| Edit this page View SourceCreateEffect(nint, ref Guid)
Creates the effect used to update this device.
Declaration
protected override void CreateEffect(nint effectParams, ref Guid effectId)
Parameters
Type | Name | Description |
---|---|---|
nint | effectParams | The parameters of the effect. |
Guid | effectId | The id this effect is created with. |
Overrides
| Edit this page View SourceCreateEffectParams(in ReadOnlySpan<(object key, Color color)>)
Creates the device-specific effect parameters for the led-update.
Declaration
protected override nint CreateEffectParams(in ReadOnlySpan<(object key, Color color)> dataSet)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<(object key, Color color)> | dataSet | The data to be updated. |
Returns
Type | Description |
---|---|
nint | An nint pointing to the effect parameter struct. |