Show / Hide Table of Contents

Class RazerMouseUpdateQueue

Represents the update-queue performing updates for razer mouse devices.

Inheritance
object
AbstractReferenceCounting
UpdateQueue<object, Color>
UpdateQueue
RazerUpdateQueue
RazerMouseUpdateQueue
Implements
IUpdateQueue
IUpdateQueue<object, Color>
IReferenceCounting
IDisposable
Inherited Members
RazerUpdateQueue.Reset()
UpdateQueue<object, Color>.RequiresFlush
UpdateQueue<object, Color>.SetData(ReadOnlySpan<(object, Color)>)
UpdateQueue<object, Color>.Reset()
UpdateQueue<object, Color>.Dispose()
AbstractReferenceCounting.ActiveReferenceCount
AbstractReferenceCounting.AddReferencingObject(object)
AbstractReferenceCounting.RemoveReferencingObject(object)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Devices.Razer
Assembly: RGB.NET.Devices.Razer.dll
Syntax
public sealed class RazerMouseUpdateQueue : RazerUpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable

Constructors

| Edit this page View Source

RazerMouseUpdateQueue(IDeviceUpdateTrigger)

Initializes a new instance of the RazerMouseUpdateQueue class.

Declaration
public RazerMouseUpdateQueue(IDeviceUpdateTrigger updateTrigger)
Parameters
Type Name Description
IDeviceUpdateTrigger updateTrigger

The update trigger used to update this queue.

Methods

| Edit this page View Source

CreateEffect(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
RazerUpdateQueue.CreateEffect(nint, ref Guid)
| Edit this page View Source

CreateEffectParams(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.

Overrides
RazerUpdateQueue.CreateEffectParams(in ReadOnlySpan<(object key, Color color)>)

Implements

IUpdateQueue
IUpdateQueue<TIdentifier, TData>
IReferenceCounting
IDisposable

Extension Methods

ReferenceCountingExtension.HasActiveReferences(IReferenceCounting)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX