Esempio n. 1
0
        public override bool createCpuSubPrograms(SWIGTYPE_p_Ogre__RTShader__ProgramSet programSet)
        {
            bool ret = RTShaderPINVOKE.FFPTransform_createCpuSubPrograms(swigCPtr, SWIGTYPE_p_Ogre__RTShader__ProgramSet.getCPtr(programSet));

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public virtual bool createCpuSubPrograms(SWIGTYPE_p_Ogre__RTShader__ProgramSet programSet)
        {
            bool ret = RTShaderPINVOKE.SubRenderState_createCpuSubPrograms(swigCPtr, SWIGTYPE_p_Ogre__RTShader__ProgramSet.getCPtr(programSet));

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__RTShader__ProgramSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }