public SWIGTYPE_p_GlVertexBufferAttributeInfo VBOUpdateVectorGetAttribute(uint flags) { global::System.IntPtr cPtr = C4dApiPINVOKE.PolygonObject_VBOUpdateVectorGetAttribute(swigCPtr, flags); SWIGTYPE_p_GlVertexBufferAttributeInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_GlVertexBufferAttributeInfo(cPtr, false); return(ret); }
public void VBOUpdateFaceVector(int i, SWIGTYPE_p_Vector32 v, SWIGTYPE_p_GlVertexBufferAttributeInfo pInfo) { C4dApiPINVOKE.PolygonObject_VBOUpdateFaceVector(swigCPtr, i, SWIGTYPE_p_Vector32.getCPtr(v), SWIGTYPE_p_GlVertexBufferAttributeInfo.getCPtr(pInfo)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_GlVertexBufferAttributeInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }