Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RgbDevice()

ReLogic.Peripherals.RGB.RgbDevice.RgbDevice ( RgbDeviceVendor vendor,
RgbDeviceType type,
Fragment fragment,
DeviceColorProfile colorProfile )
inlineprotected

Definition at line 22 of file RgbDevice.cs.

23 {
25 Vendor = vendor;
26 Type = type;
27 _backBuffer = fragment;
28 _workingFragment = fragment.CreateCopy();
29 _colorProfile = colorProfile;
30 }
readonly Fragment _workingFragment
Definition RgbDevice.cs:14
readonly DeviceColorProfile _colorProfile
Definition RgbDevice.cs:16
EffectDetailLevel PreferredLevelOfDetail
Definition RgbDevice.cs:18
readonly RgbDeviceType Type
Definition RgbDevice.cs:8
readonly RgbDeviceVendor Vendor
Definition RgbDevice.cs:10
readonly Fragment _backBuffer
Definition RgbDevice.cs:12

References ReLogic.Peripherals.RGB.RgbDevice._backBuffer, ReLogic.Peripherals.RGB.RgbDevice._colorProfile, ReLogic.Peripherals.RGB.RgbDevice._workingFragment, ReLogic.Peripherals.RGB.Fragment.CreateCopy(), ReLogic.Peripherals.RGB.RgbDevice.PreferredLevelOfDetail, ReLogic.Peripherals.RGB.RgbDevice.Type, and ReLogic.Peripherals.RGB.RgbDevice.Vendor.

Referenced by Terraria.GameContent.RGB.DebugKeyboard.DebugDraw(), and Terraria.GameContent.RGB.VirtualKeyboard.Render().