public virtual void translate(ScriptCompiler compiler, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AbstractNode_t node) { RTShaderPINVOKE.SGScriptTranslator_translate(swigCPtr, ScriptCompiler.getCPtr(compiler), SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AbstractNode_t.getCPtr(node)); if (RTShaderPINVOKE.SWIGPendingException.Pending) { throw RTShaderPINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_Ogre__ScriptTranslator getTranslator(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AbstractNode_t node) { global::System.IntPtr cPtr = OgrePINVOKE.ScriptCompilerManager_getTranslator(swigCPtr, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AbstractNode_t.getCPtr(node)); SWIGTYPE_p_Ogre__ScriptTranslator ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__ScriptTranslator(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AbstractNode_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }