public INITRENDERRESULT InitTextures(InitRenderStruct irs) { INITRENDERRESULT ret = (INITRENDERRESULT)C4dApiPINVOKE.BaseMaterial_InitTextures(swigCPtr, InitRenderStruct.getCPtr(irs)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public INITRENDERRESULT InitRender(InitRenderStruct arg0) { INITRENDERRESULT ret = (INITRENDERRESULT)C4dApiPINVOKE.BaseShader_InitRender(swigCPtr, InitRenderStruct.getCPtr(arg0)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InitRenderStruct obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }