Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
RazerHeadset (DeviceColorProfile colorProfile) | |
override void | Present () |
virtual Fragment | Rasterize () |
void | SetLedColor (int index, Vector4 color) |
Vector2 | GetLedCanvasPosition (int index) |
Point | GetLedGridPosition (int index) |
virtual void | Render (Fragment fragment, ShaderBlendState blendState) |
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.CustomHeadsetEffect | _effect = NativeMethods.CustomHeadsetEffect.Create() |
readonly EffectHandle | _handle = new EffectHandle() |
readonly Fragment | _backBuffer |
readonly Fragment | _workingFragment |
readonly DeviceColorProfile | _colorProfile |
Definition at line 5 of file RazerHeadset.cs.