Format code
This commit is contained in:
@@ -209,7 +209,6 @@ namespace
|
||||
Matrix3x3 TransformCached;
|
||||
|
||||
Array<ClipMask, InlinedAllocation<64>> ClipLayersStack;
|
||||
|
||||
Array<Color, InlinedAllocation<64>> TintLayersStack;
|
||||
|
||||
// Shader
|
||||
@@ -635,8 +634,10 @@ void Render2D::Begin(GPUContext* context, GPUTextureView* output, GPUTextureView
|
||||
ClipLayersStack.Clear();
|
||||
ClipLayersStack.Add({ defaultMask, defaultBounds });
|
||||
|
||||
// Initialize default tint stack
|
||||
TintLayersStack.Clear();
|
||||
TintLayersStack.Add({1,1,1,1});
|
||||
TintLayersStack.Add({ 1, 1, 1, 1 });
|
||||
|
||||
// Scissors can be enabled only for 2D orthographic projections
|
||||
IsScissorsRectEnabled = false;
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ public:
|
||||
/// Pushes tint color.
|
||||
/// </summary>
|
||||
/// <param name="tint">The tint color.</param>
|
||||
/// <param name="inherit">Multiply <see cref="tint"/> by the last tint on the stack.</param>
|
||||
/// <param name="inherit">Multiply <paramref ref="tint"/> by the last tint on the stack.</param>
|
||||
API_FUNCTION() static void PushTint(API_PARAM(Ref) const Color& tint, bool inherit = true);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user