|
Terraria v1.4.4.9
Terraria source code documentation
|
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< ChromaEngineUpdateEventArgs > | OnUpdate |
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 |
Definition at line 11 of file ChromaEngine.cs.