6using Microsoft.Xna.Framework.Input;
170 position.Y += 1.2f * scale;
192 if (this.OnUpdate !=
null)
220 for (
int i = 0; i <= 1; i++)
readonly object _updateLock
void UnregisterShader(ChromaShader shader)
RgbKey BindKey(Keys key, string keyTriggerName)
bool HasDeviceGroup(string name)
void EnableAllDeviceGroups()
void EnableDeviceGroup(string name)
void RegisterShader(ChromaShader shader, ChromaCondition condition, ShaderLayer layer)
readonly HotkeyCollection _hotkeys
void AddDeviceGroup(string name, RgbDeviceGroup deviceGroup)
EventHandler< ChromaEngineUpdateEventArgs > OnUpdate
bool IsDeviceGroupEnabled(string name)
readonly Dictionary< string, RgbDeviceGroup > _deviceGroups
readonly ShaderSelector _shaderSelector
void LoadSpecialRules(object specialRulesObject)
void DebugDraw(IDebugDrawer drawer, Vector2 position, float scale)
void RemoveDeviceGroup(string name)
void Update(float totalTime)
readonly ChromaPipeline _pipeline
void DisableAllDeviceGroups()
void DisableDeviceGroup(string name)
void SetHotkeys(IEnumerable< RgbKey > keys)
void Process(IEnumerable< RgbDevice > devices, IEnumerable< ShaderOperation > shaders, float time)
void UpdateAll(float timeElapsed)
RgbKey BindKey(Keys key, string keyTriggerName)
EffectDetailLevel PreferredLevelOfDetail
ICollection< ShaderOperation > AtDetailLevel(EffectDetailLevel quality)
void Unregister(ChromaShader shader)
void Update(float timeElapsed)
void Register(ChromaShader shader, ChromaCondition condition, ShaderLayer layer)
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static void Exit(object obj)
static bool TryEnter(object obj)
static bool QueueUserWorkItem(WaitCallback callBack)