22// Distributed under the MIT license. See the LICENSE file in the project root for more information.
33
44using System ;
5+ using System . Drawing ;
56using System . Globalization ;
67using System . Numerics ;
78using System . Reflection ;
8- using System . Runtime . CompilerServices ;
99using SharpGen . Runtime ;
1010using Vortice . Direct3D ;
1111using Vortice . Mathematics ;
@@ -135,7 +135,7 @@ public unsafe IDirect3DSurface9 CreateOffscreenPlainSurface(int width, int heigh
135135 /// <param name="color">The color that will be used to fill the cleared render target.</param>
136136 /// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
137137 /// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
138- public void Clear ( ClearFlags clearFlags , Color color , float zdepth , int stencil )
138+ public void Clear ( ClearFlags clearFlags , Vortice . Mathematics . Color color , float zdepth , int stencil )
139139 {
140140 Clear_ ( 0 , null , clearFlags , Helpers . ToBgra ( color ) , zdepth , stencil ) ;
141141 }
@@ -160,7 +160,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
160160 /// <param name="zdepth">The value that will be used to fill the cleared depth buffer.</param>
161161 /// <param name="stencil">The value that will be used to fill the cleared stencil buffer.</param>
162162 /// <param name="rectangles">The areas on the surfaces that will be cleared.</param>
163- public void Clear ( ClearFlags clearFlags , Color color , float zdepth , int stencil , RawRect [ ] rectangles )
163+ public void Clear ( ClearFlags clearFlags , Vortice . Mathematics . Color color , float zdepth , int stencil , RawRect [ ] rectangles )
164164 {
165165 Clear_ ( rectangles == null ? 0 : rectangles . Length , rectangles , clearFlags , Helpers . ToBgra ( color ) , zdepth , stencil ) ;
166166 }
@@ -186,7 +186,7 @@ public void Clear(ClearFlags clearFlags, System.Drawing.Color color, float zdept
186186 /// </remarks>
187187 /// <param name="surface"> Pointer to the surface to be filled. </param>
188188 /// <param name="color"> Color used for filling. </param>
189- public void ColorFill ( IDirect3DSurface9 surface , in Color color )
189+ public void ColorFill ( IDirect3DSurface9 surface , in Vortice . Mathematics . Color color )
190190 {
191191 ColorFill ( surface , null , Helpers . ToBgra ( color ) ) ;
192192 }
0 commit comments