internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Material obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public virtual void SetMaterial(Material matHandle) { SharpMochaPINVOKE.CRenderer_SetMaterial(swigCPtr, Material.getCPtr(matHandle)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }