public void prepareEntityForSkinning(Entity pEntity)
 {
     RTShaderPINVOKE.HardwareSkinningFactory_prepareEntityForSkinning__SWIG_3(swigCPtr, Entity.getCPtr(pEntity));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void _setActiveSceneManager(SceneManager sceneManager)
 {
     RTShaderPINVOKE.ShaderGenerator__setActiveSceneManager(swigCPtr, SceneManager.getCPtr(sceneManager));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setTargetLanguage(string shaderLanguage)
 {
     RTShaderPINVOKE.ShaderGenerator_setTargetLanguage(swigCPtr, shaderLanguage);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void invalidateMaterial(string schemeName, string materialName, string groupName)
 {
     RTShaderPINVOKE.ShaderGenerator_invalidateMaterial__SWIG_0(swigCPtr, schemeName, materialName, groupName);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void releasePrograms(Pass pass)
 {
     RTShaderPINVOKE.TargetRenderState_releasePrograms(swigCPtr, Pass.getCPtr(pass));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void removeSubRenderStateFactory(SubRenderStateFactory factory)
 {
     RTShaderPINVOKE.ShaderGenerator_removeSubRenderStateFactory(swigCPtr, SubRenderStateFactory.getCPtr(factory));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void removeAllShaderBasedTechniques()
 {
     RTShaderPINVOKE.ShaderGenerator_removeAllShaderBasedTechniques__SWIG_2(swigCPtr);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void _setCreator(HardwareSkinningFactory pCreator)
 {
     RTShaderPINVOKE.HardwareSkinning__setCreator(swigCPtr, HardwareSkinningFactory.getCPtr(pCreator));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #9
0
 public override void writeInstance(MaterialSerializer ser, SubRenderState subRenderState, Pass srcPass, Pass dstPass)
 {
     RTShaderPINVOKE.FFPFogFactory_writeInstance(swigCPtr, MaterialSerializer.getCPtr(ser), SubRenderState.getCPtr(subRenderState), Pass.getCPtr(srcPass), Pass.getCPtr(dstPass));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setHardwareSkinningParam(ushort boneCount, ushort weightCount, SkinningType skinningType, bool correctAntipodalityHandling)
 {
     RTShaderPINVOKE.HardwareSkinning_setHardwareSkinningParam__SWIG_1(swigCPtr, boneCount, weightCount, (int)skinningType, correctAntipodalityHandling);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setHardwareSkinningParam(ushort boneCount, ushort weightCount)
 {
     RTShaderPINVOKE.HardwareSkinning_setHardwareSkinningParam__SWIG_3(swigCPtr, boneCount, weightCount);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void copyFrom(SubRenderState rhs)
 {
     RTShaderPINVOKE.HardwareSkinning_copyFrom(swigCPtr, SubRenderState.getCPtr(rhs));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void setCustomShadowReceiverMaterials(SkinningType skinningType, MaterialPtr receiver1Weight, MaterialPtr receiver2Weight, MaterialPtr receiver3Weight, MaterialPtr receiver4Weight)
 {
     RTShaderPINVOKE.HardwareSkinningFactory_setCustomShadowReceiverMaterials(swigCPtr, (int)skinningType, MaterialPtr.getCPtr(receiver1Weight), MaterialPtr.getCPtr(receiver2Weight), MaterialPtr.getCPtr(receiver3Weight), MaterialPtr.getCPtr(receiver4Weight));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setMaxCalculableBoneCount(ushort count)
 {
     RTShaderPINVOKE.HardwareSkinningFactory_setMaxCalculableBoneCount(swigCPtr, count);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #15
0
 public void setShaderCachePath(string cachePath)
 {
     RTShaderPINVOKE.ShaderGenerator_setShaderCachePath(swigCPtr, cachePath);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void link(RenderState other, Pass srcPass, Pass dstPass)
 {
     RTShaderPINVOKE.TargetRenderState_link(swigCPtr, RenderState.getCPtr(other), Pass.getCPtr(srcPass), Pass.getCPtr(dstPass));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #17
0
 public void flushShaderCache()
 {
     RTShaderPINVOKE.ShaderGenerator_flushShaderCache(swigCPtr);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void updateGpuProgramsParams(Renderable rend, Pass pass, SWIGTYPE_p_Ogre__AutoParamDataSource source, SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t pLightList)
 {
     RTShaderPINVOKE.TargetRenderState_updateGpuProgramsParams(swigCPtr, Renderable.getCPtr(rend), Pass.getCPtr(pass), SWIGTYPE_p_Ogre__AutoParamDataSource.getCPtr(source), SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t.getCPtr(pLightList));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #19
0
 public void destroySubRenderState(SubRenderState subRenderState)
 {
     RTShaderPINVOKE.ShaderGenerator_destroySubRenderState(swigCPtr, SubRenderState.getCPtr(subRenderState));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void removeSubRenderStateInstance(SubRenderState subRenderState)
 {
     RTShaderPINVOKE.TargetRenderState_removeSubRenderStateInstance(swigCPtr, SubRenderState.getCPtr(subRenderState));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #21
0
 public void invalidateScheme(string schemeName)
 {
     RTShaderPINVOKE.ShaderGenerator_invalidateScheme(swigCPtr, schemeName);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #22
0
 public void setShaderProfiles(GpuProgramType type, string shaderProfiles)
 {
     RTShaderPINVOKE.ShaderGenerator_setShaderProfiles(swigCPtr, (int)type, shaderProfiles);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void prepareEntityForSkinning(Entity pEntity, SkinningType skinningType, bool correctAntidpodalityHandling)
 {
     RTShaderPINVOKE.HardwareSkinningFactory_prepareEntityForSkinning__SWIG_1(swigCPtr, Entity.getCPtr(pEntity), (int)skinningType, correctAntidpodalityHandling);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #24
0
 public NormalMapLighting.NormalMapSpace getNormalMapSpace()
 {
     NormalMapLighting.NormalMapSpace ret = (NormalMapLighting.NormalMapSpace)RTShaderPINVOKE.NormalMapLighting_getNormalMapSpace(swigCPtr);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Example #25
0
 public LayeredBlending.BlendMode getBlendMode(ushort index)
 {
     LayeredBlending.BlendMode ret = (LayeredBlending.BlendMode)RTShaderPINVOKE.LayeredBlending_getBlendMode(swigCPtr, index);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Example #26
0
 public FFPFog.CalcMode getCalcMode()
 {
     FFPFog.CalcMode ret = (FFPFog.CalcMode)RTShaderPINVOKE.FFPFog_getCalcMode(swigCPtr);
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Example #27
0
        public override bool preAddToRenderState(RenderState renderState, Pass srcPass, Pass dstPass)
        {
            bool ret = RTShaderPINVOKE.NormalMapLighting_preAddToRenderState(swigCPtr, RenderState.getCPtr(renderState), Pass.getCPtr(srcPass), Pass.getCPtr(dstPass));

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #28
0
        public override string getType()
        {
            string ret = RTShaderPINVOKE.NormalMapLighting_getType(swigCPtr);

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #29
0
        public uint getTexCoordIndex()
        {
            uint ret = RTShaderPINVOKE.NormalMapLighting_getTexCoordIndex(swigCPtr);

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #30
0
        public virtual bool preAddToRenderState(RenderState renderState, Pass srcPass, Pass dstPass)
        {
            bool ret = RTShaderPINVOKE.SubRenderState_preAddToRenderState(swigCPtr, RenderState.getCPtr(renderState), Pass.getCPtr(srcPass), Pass.getCPtr(dstPass));

            if (RTShaderPINVOKE.SWIGPendingException.Pending)
            {
                throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }