mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-10 20:46:24 +00:00
Added missing comments
This commit is contained in:
1 parent
8d32c73b6d
commit
0fc32243c8
12 files changed
+92
-2
No files matched your search
@@ -74,6 +74,7 @@ namespace CUE.NET.Brushes
|
||||
foreach (BrushRenderTarget point in renderTargets)
|
||||
RenderedTargets[point] = GetColorAtPoint(rectangle, point);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Performs the finalize pass of the brush and calculates the final colors for all previously calculated points.
|
||||
/// </summary>
|
||||
|
||||
@@ -6,18 +6,32 @@ using CUE.NET.Devices.Keyboard.Enums;
|
||||
|
||||
namespace CUE.NET.Brushes
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a single target of a brush render.
|
||||
/// </summary>
|
||||
public class BrushRenderTarget
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the id of the target-key.
|
||||
/// </summary>
|
||||
public CorsairKeyboardKeyId Key { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the point representing the position to render the target-key.
|
||||
/// </summary>
|
||||
public PointF Point { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="BrushRenderTarget"/> class.
|
||||
/// </summary>
|
||||
/// <param name="key">The id of the target-key.</param>
|
||||
/// <param name="point">The point representing the position to render the target-key.</param>
|
||||
public BrushRenderTarget(CorsairKeyboardKeyId key, PointF point)
|
||||
{
|
||||
this.Point = point;
|
||||
|
||||
@@ -39,6 +39,9 @@ namespace CUE.NET.Brushes
|
||||
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace CUE.NET.Brushes
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace CUE.NET.Brushes
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
private Dictionary<CorsairKeyboardKeyId, Color> _keyLights;
|
||||
|
||||
@@ -16,6 +16,9 @@ namespace CUE.NET.Brushes
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -15,6 +15,9 @@ namespace CUE.NET.Brushes
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
private Random _random = new Random();
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace CUE.NET.Brushes
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override IBrush EffectTarget => this;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user