Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Peripherals.RGB.RgbKeyboard Class Referenceabstract

Public Member Functions

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

Public Attributes

readonly RgbDeviceType Type
 
readonly RgbDeviceVendor Vendor
 

Protected Member Functions

 RgbKeyboard (RgbDeviceVendor vendor, Fragment fragment, DeviceColorProfile colorProfile)
 
Vector4 GetProcessedLedColor (int index)
 
Vector4 GetUnprocessedLedColor (int index)
 
Color ProcessLedColor (Color color)
 

Properties

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

Private Attributes

readonly Fragment _backBuffer
 
readonly Fragment _workingFragment
 
readonly DeviceColorProfile _colorProfile
 

Detailed Description

Definition at line 5 of file RgbKeyboard.cs.


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