Ejemplo n.º 1
0
 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();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btVector4 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btVector4 obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public SWIGTYPE_p_btVector4 getPixel(int x, int y) {
   SWIGTYPE_p_btVector4 ret = new SWIGTYPE_p_btVector4(OpenGLSupportPINVOKE.renderTexture_getPixel(swigCPtr, x, y), true);
   return ret;
 }
 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();
 }
Ejemplo n.º 6
0
    public SWIGTYPE_p_btVector4 getPixel(int x, int y)
    {
        SWIGTYPE_p_btVector4 ret = new SWIGTYPE_p_btVector4(OpenGLSupportPINVOKE.renderTexture_getPixel(swigCPtr, x, y), true);

        return(ret);
    }