public GL_ToggleControl createToggle(GL_DialogWindow dialog, string toggleText) { IntPtr cPtr = OpenGLSupportPINVOKE.GL_DialogDynamicsWorld_createToggle(swigCPtr, GL_DialogWindow.getCPtr(dialog), toggleText); GL_ToggleControl ret = (cPtr == IntPtr.Zero) ? null : new GL_ToggleControl(cPtr, false); return(ret); }
public virtual GL_DialogWindow createDialog(int horPos, int vertPos, int dialogWidth, int dialogHeight, string dialogTitle) { IntPtr cPtr = OpenGLSupportPINVOKE.GL_DialogDynamicsWorld_createDialog(swigCPtr, horPos, vertPos, dialogWidth, dialogHeight, dialogTitle); GL_DialogWindow ret = (cPtr == IntPtr.Zero) ? null : new GL_DialogWindow(cPtr, false); return(ret); }
public SWIGTYPE_p_btDynamicsWorld getDynamicsWorld() { IntPtr cPtr = OpenGLSupportPINVOKE.DemoApplication_getDynamicsWorld(swigCPtr); SWIGTYPE_p_btDynamicsWorld ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btDynamicsWorld(cPtr, false); return(ret); }
public static SWIGTYPE_p_float stbi_loadf(string filename, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) { IntPtr cPtr = OpenGLSupportPINVOKE.stbi_loadf(filename, SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp); SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false); return(ret); }
public GL_SliderControl createSlider(GL_DialogWindow dialog, string sliderText) { IntPtr cPtr = OpenGLSupportPINVOKE.GL_DialogDynamicsWorld_createSlider__SWIG_1(swigCPtr, GL_DialogWindow.getCPtr(dialog), sliderText); GL_SliderControl ret = (cPtr == IntPtr.Zero) ? null : new GL_SliderControl(cPtr, false); return(ret); }
public SWIGTYPE_p_unsigned_char getBuffer() { IntPtr cPtr = OpenGLSupportPINVOKE.renderTexture_getBuffer(swigCPtr); SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return(ret); }
public static SWIGTYPE_p_unsigned_char stbi_load_from_file(SWIGTYPE_p_FILE f, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) { IntPtr cPtr = OpenGLSupportPINVOKE.stbi_load_from_file(SWIGTYPE_p_FILE.getCPtr(f), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp); SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return(ret); }
public SWIGTYPE_p_btCollisionObject getCollisionObject() { IntPtr cPtr = OpenGLSupportPINVOKE.GL_DialogWindow_getCollisionObject(swigCPtr); SWIGTYPE_p_btCollisionObject ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btCollisionObject(cPtr, false); return(ret); }
public static SWIGTYPE_p_float stbi_loadf_from_memory(SWIGTYPE_p_unsigned_char buffer, int len, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) { IntPtr cPtr = OpenGLSupportPINVOKE.stbi_loadf_from_memory(SWIGTYPE_p_unsigned_char.getCPtr(buffer), len, SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp); SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false); return(ret); }
public GL_DialogControl getControl(int index) { IntPtr cPtr = OpenGLSupportPINVOKE.GL_DialogWindow_getControl__SWIG_0(swigCPtr, index); GL_DialogControl ret = (cPtr == IntPtr.Zero) ? null : new GL_DialogControl(cPtr, false); return(ret); }
public SWIGTYPE_p_btTypedConstraint getConstraint() { IntPtr cPtr = OpenGLSupportPINVOKE.GL_SliderControl_getConstraint(swigCPtr); SWIGTYPE_p_btTypedConstraint ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btTypedConstraint(cPtr, false); return(ret); }
public static SWIGTYPE_p_unsigned_char stbi_load_from_callbacks(stbi_io_callbacks clbk, SWIGTYPE_p_void user, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) { IntPtr cPtr = OpenGLSupportPINVOKE.stbi_load_from_callbacks(stbi_io_callbacks.getCPtr(clbk), SWIGTYPE_p_void.getCPtr(user), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp); SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return(ret); }
public static void GLDebugDrawStringInternal(int x, int y, string arg2, SWIGTYPE_p_btVector3 rgb) { OpenGLSupportPINVOKE.GLDebugDrawStringInternal__SWIG_1(x, y, arg2, SWIGTYPE_p_btVector3.getCPtr(rgb)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void shootBox(SWIGTYPE_p_btVector3 destination) { OpenGLSupportPINVOKE.DemoApplication_shootBox(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(destination)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public override void draw(SWIGTYPE_p_int parentHorPos, SWIGTYPE_p_int parentVertPos, float deltaTime) { OpenGLSupportPINVOKE.GL_TextControl_draw(swigCPtr, SWIGTYPE_p_int.getCPtr(parentHorPos), SWIGTYPE_p_int.getCPtr(parentVertPos), deltaTime); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawShadow(SWIGTYPE_p_float m, SWIGTYPE_p_btVector3 extrusion, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 worldBoundsMin, SWIGTYPE_p_btVector3 worldBoundsMax) { OpenGLSupportPINVOKE.GL_ShapeDrawer_drawShadow(swigCPtr, SWIGTYPE_p_float.getCPtr(m), SWIGTYPE_p_btVector3.getCPtr(extrusion), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMin), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMax)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public void addPixel(int x, int y, SWIGTYPE_p_btVector4 rgba) { OpenGLSupportPINVOKE.renderTexture_addPixel(swigCPtr, x, y, SWIGTYPE_p_btVector4.getCPtr(rgba)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public void setCameraUp(SWIGTYPE_p_btVector3 camUp) { OpenGLSupportPINVOKE.DemoApplication_setCameraUp(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(camUp)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawTriangle(SWIGTYPE_p_btVector3 a, SWIGTYPE_p_btVector3 b, SWIGTYPE_p_btVector3 c, SWIGTYPE_p_btVector3 color, float alpha) { OpenGLSupportPINVOKE.GLDebugDrawer_drawTriangle(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(a), SWIGTYPE_p_btVector3.getCPtr(b), SWIGTYPE_p_btVector3.getCPtr(c), SWIGTYPE_p_btVector3.getCPtr(color), alpha); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawContactPoint(SWIGTYPE_p_btVector3 PointOnB, SWIGTYPE_p_btVector3 normalOnB, float distance, int lifeTime, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawContactPoint(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(PointOnB), SWIGTYPE_p_btVector3.getCPtr(normalOnB), distance, lifeTime, SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawLine(SWIGTYPE_p_btVector3 from, SWIGTYPE_p_btVector3 to, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawLine__SWIG_1(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(from), SWIGTYPE_p_btVector3.getCPtr(to), SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawSphere(SWIGTYPE_p_btVector3 p, float radius, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawSphere(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(p), radius, SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void draw3dText(SWIGTYPE_p_btVector3 location, string textString) { OpenGLSupportPINVOKE.GLDebugDrawer_draw3dText(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(location), textString); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_btRigidBody localCreateRigidBody(float mass, SWIGTYPE_p_btTransform startTransform, SWIGTYPE_p_btCollisionShape shape) { IntPtr cPtr = OpenGLSupportPINVOKE.DemoApplication_localCreateRigidBody(swigCPtr, mass, SWIGTYPE_p_btTransform.getCPtr(startTransform), SWIGTYPE_p_btCollisionShape.getCPtr(shape)); SWIGTYPE_p_btRigidBody ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btRigidBody(cPtr, false); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; OpenGLSupportPINVOKE.delete_GLDebugDrawer(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } }
public override void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; OpenGLSupportPINVOKE.delete_GL_TextControl(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); base.Dispose(); } }
public virtual void reportErrorWarning(string warningString) { OpenGLSupportPINVOKE.GLDebugDrawer_reportErrorWarning(swigCPtr, warningString); }
public GLDebugDrawer() : this(OpenGLSupportPINVOKE.new_GLDebugDrawer(), true) { }
public virtual int getDebugMode() { int ret = OpenGLSupportPINVOKE.GLDebugDrawer_getDebugMode(swigCPtr); return(ret); }
public virtual void setDebugMode(int debugMode) { OpenGLSupportPINVOKE.GLDebugDrawer_setDebugMode(swigCPtr, debugMode); }