/// <param name="isTranslucent">Whether Window is translucent.</param>
/// <returns>A new Window.</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
- public GLWindow(string name, Rectangle windowPosition = null, bool isTranslucent = false) : this(Interop.GLWindow.GlWindow_New__SWIG_1( Rectangle.getCPtr(windowPosition), name, "", isTranslucent), true)
+ public GLWindow(string name, Rectangle windowPosition = null, bool isTranslucent = false) : this(Interop.GLWindow.GlWindow_New__SWIG_1(Rectangle.getCPtr(windowPosition), name, "", isTranslucent), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// <param name="msaa">The bit of msaa.</param>
/// <param name="version">The GLES version.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
- public void SetEglConfig( bool depth, bool stencil, int msaa, GLESVersion version )
+ public void SetEglConfig(bool depth, bool stencil, int msaa, GLESVersion version)
{
Interop.GLWindow.GlWindow_SetEglConfig(swigCPtr, depth, stencil, msaa, (int)version);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
{
global::System.IntPtr intPtr = Interop.GLWindow.GlWindow_GetPositionSize(swigCPtr);
Rectangle val = new Rectangle(intPtr, true);
- Rectangle ret = new Rectangle(val.X, val.Y, val.Width, val.Height );
+ Rectangle ret = new Rectangle(val.X, val.Y, val.Width, val.Height);
val.Dispose();
return ret;
/// <param name="glRenderFrame">The callback function to render to the frame</param>
/// <param name="glTerminate">The callback function to clean-up application GL resource</param>
[EditorBrowsable(EditorBrowsableState.Never)]
- public void RegisterGlCallback( GLInitializeCallbackType glInit, GLRenderFrameCallbackType glRenderFrame, GLTerminateCallbackType glTerminate )
+ public void RegisterGlCallback(GLInitializeCallbackType glInit, GLRenderFrameCallbackType glRenderFrame, GLTerminateCallbackType glTerminate)
{
GLInitializeCallback = glInit;
InitHandleRef = new HandleRef(this, Marshal.GetFunctionPointerForDelegate<Delegate>(GLInitializeCallback));