Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Peripherals.RGB.Logitech.LogitechKeyboard Class Reference

Public Member Functions

 LogitechKeyboard (DeviceColorProfile colorProfile)
 
override void Present ()
 
override void Render (IEnumerable< RgbKey > keys)
 
virtual void Render (Fragment fragment, ShaderBlendState blendState)
 
virtual Fragment Rasterize ()
 
void SetLedColor (int index, Vector4 color)
 
Vector2 GetLedCanvasPosition (int index)
 
Point GetLedGridPosition (int index)
 
virtual void DebugDraw (IDebugDrawer drawer, Vector2 position, float scale)
 

Public Attributes

readonly RgbDeviceType Type
 
readonly RgbDeviceVendor Vendor
 

Protected Member Functions

Vector4 GetProcessedLedColor (int index)
 
Vector4 GetUnprocessedLedColor (int index)
 
Color ProcessLedColor (Color color)
 

Properties

EffectDetailLevel PreferredLevelOfDetail [get, protected set]
 
int LedCount [get]
 

Private Attributes

readonly byte[] _colors
 
readonly KeyName[] _excludedKeys = new KeyName[126]
 
readonly Fragment _backBuffer
 
readonly Fragment _workingFragment
 
readonly DeviceColorProfile _colorProfile
 

Static Private Attributes

static readonly Dictionary< Keys, KeyNameXnaToLogitechKeys
 

Detailed Description

Definition at line 7 of file LogitechKeyboard.cs.


The documentation for this class was generated from the following file: