public virtual bool attachDepthBuffer(SWIGTYPE_p_Ogre__DepthBuffer depthBuffer) { bool ret = OgrePINVOKE.RenderTarget_attachDepthBuffer(swigCPtr, SWIGTYPE_p_Ogre__DepthBuffer.getCPtr(depthBuffer)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_Ogre__DepthBuffer getDepthBuffer() { global::System.IntPtr cPtr = OgrePINVOKE.RenderTarget_getDepthBuffer(swigCPtr); SWIGTYPE_p_Ogre__DepthBuffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__DepthBuffer(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__DepthBuffer obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }