@@ -16,37 +16,37 @@ public interface IRenderTarget
1616 /// Size of the rendering region of the target
1717 /// </summary>
1818 ////////////////////////////////////////////////////////////
19- Vector2u Size { get ; }
19+ public Vector2u Size { get ; }
2020
2121 ////////////////////////////////////////////////////////////
2222 /// <summary>
2323 /// Tell if the render target will use sRGB encoding when drawing on it
2424 /// </summary>
2525 ////////////////////////////////////////////////////////////
26- bool IsSrgb { get ; }
26+ public bool IsSrgb { get ; }
2727
2828 ////////////////////////////////////////////////////////////
2929 /// <summary>
3030 /// Default view of the target
3131 /// </summary>
3232 ////////////////////////////////////////////////////////////
33- View DefaultView { get ; }
33+ public View DefaultView { get ; }
3434
3535 ////////////////////////////////////////////////////////////
3636 /// <summary>
3737 /// Return the current active view
3838 /// </summary>
3939 /// <returns>The current view</returns>
4040 ////////////////////////////////////////////////////////////
41- View GetView ( ) ;
41+ public View GetView ( ) ;
4242
4343 ////////////////////////////////////////////////////////////
4444 /// <summary>
4545 /// Change the current active view
4646 /// </summary>
4747 /// <param name="view">New view</param>
4848 ////////////////////////////////////////////////////////////
49- void SetView ( View view ) ;
49+ public void SetView ( View view ) ;
5050
5151 ////////////////////////////////////////////////////////////
5252 /// <summary>
@@ -55,7 +55,7 @@ public interface IRenderTarget
5555 /// <param name="view">Target view</param>
5656 /// <returns>Viewport rectangle, expressed in pixels in the current target</returns>
5757 ////////////////////////////////////////////////////////////
58- IntRect GetViewport ( View view ) ;
58+ public IntRect GetViewport ( View view ) ;
5959
6060 ////////////////////////////////////////////////////////////
6161 /// <summary>
@@ -69,7 +69,7 @@ public interface IRenderTarget
6969 /// <param name="view">The view for which we want to compute the scissor rectangle</param>
7070 /// <returns>Scissor rectangle, expressed in pixels</returns>
7171 ////////////////////////////////////////////////////////////
72- IntRect GetScissor ( View view ) ;
72+ public IntRect GetScissor ( View view ) ;
7373
7474 ////////////////////////////////////////////////////////////
7575 /// <summary>
@@ -84,7 +84,7 @@ public interface IRenderTarget
8484 /// <param name="point">Pixel to convert</param>
8585 /// <returns>The converted point, in "world" coordinates</returns>
8686 ////////////////////////////////////////////////////////////
87- Vector2f MapPixelToCoords ( Vector2i point ) ;
87+ public Vector2f MapPixelToCoords ( Vector2i point ) ;
8888
8989 ////////////////////////////////////////////////////////////
9090 /// <summary>
@@ -112,7 +112,7 @@ public interface IRenderTarget
112112 /// <param name="view">The view to use for converting the point</param>
113113 /// <returns>The converted point, in "world" coordinates</returns>
114114 ////////////////////////////////////////////////////////////
115- Vector2f MapPixelToCoords ( Vector2i point , View view ) ;
115+ public Vector2f MapPixelToCoords ( Vector2i point , View view ) ;
116116
117117 ////////////////////////////////////////////////////////////
118118 /// <summary>
@@ -127,7 +127,7 @@ public interface IRenderTarget
127127 /// <param name="point">Point to convert</param>
128128 /// <returns>The converted point, in target coordinates (pixels)</returns>
129129 ////////////////////////////////////////////////////////////
130- Vector2i MapCoordsToPixel ( Vector2f point ) ;
130+ public Vector2i MapCoordsToPixel ( Vector2f point ) ;
131131
132132 ////////////////////////////////////////////////////////////
133133 /// <summary>
@@ -151,22 +151,22 @@ public interface IRenderTarget
151151 /// <param name="view">The view to use for converting the point</param>
152152 /// <returns>The converted point, in target coordinates (pixels)</returns>
153153 ////////////////////////////////////////////////////////////
154- Vector2i MapCoordsToPixel ( Vector2f point , View view ) ;
154+ public Vector2i MapCoordsToPixel ( Vector2f point , View view ) ;
155155
156156 ////////////////////////////////////////////////////////////
157157 /// <summary>
158158 /// Clear the entire target with black color
159159 /// </summary>
160160 ////////////////////////////////////////////////////////////
161- void Clear ( ) ;
161+ public void Clear ( ) ;
162162
163163 ////////////////////////////////////////////////////////////
164164 /// <summary>
165165 /// Clear the entire target with a single color
166166 /// </summary>
167167 /// <param name="color">Color to use to clear the window</param>
168168 ////////////////////////////////////////////////////////////
169- void Clear ( Color color ) ;
169+ public void Clear ( Color color ) ;
170170
171171 ////////////////////////////////////////////////////////////
172172 /// <summary>
@@ -177,7 +177,7 @@ public interface IRenderTarget
177177 /// </summary>
178178 /// <param name="stencilValue">Stencil value to clear to</param>
179179 ////////////////////////////////////////////////////////////
180- void ClearStencil ( StencilValue stencilValue ) ;
180+ public void ClearStencil ( StencilValue stencilValue ) ;
181181
182182 ////////////////////////////////////////////////////////////
183183 /// <summary>
@@ -186,18 +186,18 @@ public interface IRenderTarget
186186 /// The specified stencil value is truncated to the bit
187187 /// width of the current stencil buffer.
188188 /// </summary>
189- /// <param name="color">Fill color to use to clear the render target</param>
189+ /// <param name="color">Fill color to use to clear the render target</param>
190190 /// <param name="stencilValue">Stencil value to clear to</param>
191191 ////////////////////////////////////////////////////////////
192- void Clear ( Color color , StencilValue stencilValue ) ;
192+ public void Clear ( Color color , StencilValue stencilValue ) ;
193193
194194 ////////////////////////////////////////////////////////////
195195 /// <summary>
196196 /// Draw a drawable object to the render-target, with default render states
197197 /// </summary>
198198 /// <param name="drawable">Object to draw</param>
199199 ////////////////////////////////////////////////////////////
200- void Draw ( IDrawable drawable ) ;
200+ public void Draw ( IDrawable drawable ) ;
201201
202202 ////////////////////////////////////////////////////////////
203203 /// <summary>
@@ -206,7 +206,7 @@ public interface IRenderTarget
206206 /// <param name="drawable">Object to draw</param>
207207 /// <param name="states">Render states to use for drawing</param>
208208 ////////////////////////////////////////////////////////////
209- void Draw ( IDrawable drawable , RenderStates states ) ;
209+ public void Draw ( IDrawable drawable , RenderStates states ) ;
210210
211211 ////////////////////////////////////////////////////////////
212212 /// <summary>
@@ -215,7 +215,7 @@ public interface IRenderTarget
215215 /// <param name="vertices">Array of vertices to draw</param>
216216 /// <param name="type">Type of primitives to draw</param>
217217 ////////////////////////////////////////////////////////////
218- void Draw ( Vertex [ ] vertices , PrimitiveType type ) ;
218+ public void Draw ( Vertex [ ] vertices , PrimitiveType type ) ;
219219
220220 ////////////////////////////////////////////////////////////
221221 /// <summary>
@@ -225,7 +225,7 @@ public interface IRenderTarget
225225 /// <param name="type">Type of primitives to draw</param>
226226 /// <param name="states">Render states to use for drawing</param>
227227 ////////////////////////////////////////////////////////////
228- void Draw ( Vertex [ ] vertices , PrimitiveType type , RenderStates states ) ;
228+ public void Draw ( Vertex [ ] vertices , PrimitiveType type , RenderStates states ) ;
229229
230230 ////////////////////////////////////////////////////////////
231231 /// <summary>
@@ -236,7 +236,7 @@ public interface IRenderTarget
236236 /// <param name="count">Number of vertices to draw</param>
237237 /// <param name="type">Type of primitives to draw</param>
238238 ////////////////////////////////////////////////////////////
239- void Draw ( Vertex [ ] vertices , uint start , uint count , PrimitiveType type ) ;
239+ public void Draw ( Vertex [ ] vertices , uint start , uint count , PrimitiveType type ) ;
240240
241241 ////////////////////////////////////////////////////////////
242242 /// <summary>
@@ -248,7 +248,7 @@ public interface IRenderTarget
248248 /// <param name="type">Type of primitives to draw</param>
249249 /// <param name="states">Render states to use for drawing</param>
250250 ////////////////////////////////////////////////////////////
251- void Draw ( Vertex [ ] vertices , uint start , uint count , PrimitiveType type , RenderStates states ) ;
251+ public void Draw ( Vertex [ ] vertices , uint start , uint count , PrimitiveType type , RenderStates states ) ;
252252
253253 ////////////////////////////////////////////////////////////
254254 /// <summary>
@@ -269,7 +269,7 @@ public interface IRenderTarget
269269 /// <param name="active">True to activate, false to deactivate</param>
270270 /// <returns>True if operation was successful, false otherwise</returns>
271271 ////////////////////////////////////////////////////////////
272- bool SetActive ( bool active ) ;
272+ public bool SetActive ( bool active ) ;
273273
274274 ////////////////////////////////////////////////////////////
275275 /// <summary>
@@ -301,7 +301,7 @@ public interface IRenderTarget
301301 /// function if you do so.
302302 /// </summary>
303303 ////////////////////////////////////////////////////////////
304- void PushGLStates ( ) ;
304+ public void PushGLStates ( ) ;
305305
306306 ////////////////////////////////////////////////////////////
307307 /// <summary>
@@ -311,7 +311,7 @@ public interface IRenderTarget
311311 /// description of these functions.
312312 /// </summary>
313313 ////////////////////////////////////////////////////////////
314- void PopGLStates ( ) ;
314+ public void PopGLStates ( ) ;
315315
316316 ////////////////////////////////////////////////////////////
317317 /// <summary>
@@ -334,6 +334,6 @@ public interface IRenderTarget
334334 /// // OpenGL code here...
335335 /// </summary>
336336 ////////////////////////////////////////////////////////////
337- void ResetGLStates ( ) ;
337+ public void ResetGLStates ( ) ;
338338 }
339339}
0 commit comments