Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
RazerKeyboard (DeviceColorProfile colorProfile) | |
override void | Render (IEnumerable< RgbKey > keys) |
override void | Present () |
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 | |
NativeMethods.CustomKeyboardEffect | _effect = NativeMethods.CustomKeyboardEffect.Create() |
readonly EffectHandle | _handle = new EffectHandle() |
readonly List< Tuple< RazerKey, uint > > | _pendingKeys = new List<Tuple<RazerKey, uint>>(132) |
readonly Fragment | _backBuffer |
readonly Fragment | _workingFragment |
readonly DeviceColorProfile | _colorProfile |
Static Private Attributes | |
static readonly Dictionary< Keys, RazerKey > | XnaKeyToChromaKey |
Definition at line 8 of file RazerKeyboard.cs.