Exemple #1
0
 public void setNormalMapSampler(SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t sampler)
 {
     RTShaderPINVOKE.NormalMapLighting_setNormalMapSampler(swigCPtr, SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t.getCPtr(sampler));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t getNormalMapSampler()
        {
            SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t ret = new SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t(RTShaderPINVOKE.NormalMapLighting_getNormalMapSampler(swigCPtr), false);

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t getDefaultSampler()
        {
            SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t ret = new SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t(OgrePINVOKE.TextureManager_getDefaultSampler(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t createSampler()
        {
            SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t ret = new SWIGTYPE_p_std__shared_ptrT_Ogre__Sampler_t(OgrePINVOKE.TextureManager_createSampler__SWIG_1(swigCPtr), true);

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