예제 #1
0
 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;
 }
예제 #2
0
 public virtual void SetMaterial(Material matHandle)
 {
     SharpMochaPINVOKE.CRenderer_SetMaterial(swigCPtr, Material.getCPtr(matHandle));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }