Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 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);
 }