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