public GpuSharedParametersUsage(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t sharedParams, GpuProgramParameters arg1) : this(OgrePINVOKE.new_GpuSharedParametersUsage(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t.getCPtr(sharedParams), GpuProgramParameters.getCPtr(arg1)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public virtual SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t getSharedParameters(string name) { SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t ret = new SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t(OgrePINVOKE.GpuProgramManager_getSharedParameters(swigCPtr, name), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t getSharedParams() { SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t ret = new SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t(OgrePINVOKE.GpuSharedParametersUsage_getSharedParams(swigCPtr), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuSharedParameters_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }