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

Public Member Functions

 ChromaEngine ()
 
void AddDeviceGroup (string name, RgbDeviceGroup deviceGroup)
 
bool HasDeviceGroup (string name)
 
void RemoveDeviceGroup (string name)
 
void EnableDeviceGroup (string name)
 
void DisableDeviceGroup (string name)
 
void EnableAllDeviceGroups ()
 
void DisableAllDeviceGroups ()
 
void LoadSpecialRules (object specialRulesObject)
 
bool IsDeviceGroupEnabled (string name)
 
void RegisterShader (ChromaShader shader, ChromaCondition condition, ShaderLayer layer)
 
void UnregisterShader (ChromaShader shader)
 
RgbKey BindKey (Keys key, string keyTriggerName)
 
void UnbindKey (Keys key)
 
void DebugDraw (IDebugDrawer drawer, Vector2 position, float scale)
 
void Update (float totalTime)
 

Properties

float FrameTimeInSeconds [get, set]
 

Events

EventHandler< ChromaEngineUpdateEventArgsOnUpdate
 

Private Member Functions

void Draw ()
 

Private Attributes

readonly ChromaPipeline _pipeline = new ChromaPipeline()
 
readonly ShaderSelector _shaderSelector = new ShaderSelector()
 
readonly HotkeyCollection _hotkeys = new HotkeyCollection()
 
readonly Dictionary< string, RgbDeviceGroup_deviceGroups = new Dictionary<string, RgbDeviceGroup>()
 
readonly object _updateLock = new object()
 
float _lastTime
 

Detailed Description

Definition at line 11 of file ChromaEngine.cs.


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