Ejemplo n.º 1
0
 public override void writeInstance(MaterialSerializer ser, SubRenderState subRenderState, Pass srcPass, Pass dstPass)
 {
     RTShaderPINVOKE.FFPTransformFactory_writeInstance(swigCPtr, MaterialSerializer.getCPtr(ser), SubRenderState.getCPtr(subRenderState), Pass.getCPtr(srcPass), Pass.getCPtr(dstPass));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void writeInstance(MaterialSerializer ser, SubRenderState subRenderState, TextureUnitState srcTextureUnit, TextureUnitState dstTextureUnit)
 {
     RTShaderPINVOKE.LayeredBlendingFactory_writeInstance(swigCPtr, MaterialSerializer.getCPtr(ser), SubRenderState.getCPtr(subRenderState), TextureUnitState.getCPtr(srcTextureUnit), TextureUnitState.getCPtr(dstTextureUnit));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public virtual void techniqueEventRaised(MaterialSerializer ser, MaterialSerializer.SerializeEvent arg1, SWIGTYPE_p_bool skip, Technique tech)
 {
     if (SwigDerivedClassHasMethod("techniqueEventRaised", swigMethodTypes1))
     {
         OgrePINVOKE.MaterialSerializer_Listener_techniqueEventRaisedSwigExplicitListener(swigCPtr, MaterialSerializer.getCPtr(ser), (int)arg1, SWIGTYPE_p_bool.getCPtr(skip), Technique.getCPtr(tech));
     }
     else
     {
         OgrePINVOKE.MaterialSerializer_Listener_techniqueEventRaised(swigCPtr, MaterialSerializer.getCPtr(ser), (int)arg1, SWIGTYPE_p_bool.getCPtr(skip), Technique.getCPtr(tech));
     }
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void gpuProgramRefEventRaised(MaterialSerializer ser, MaterialSerializer.SerializeEvent arg1, SWIGTYPE_p_bool skip, string attrib, GpuProgramPtr program, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuProgramParameters_t arg5, GpuProgramParameters defaultParams)
 {
     OgrePINVOKE.MaterialSerializer_Listener_gpuProgramRefEventRaised(swigCPtr, MaterialSerializer.getCPtr(ser), (int)arg1, SWIGTYPE_p_bool.getCPtr(skip), attrib, GpuProgramPtr.getCPtr(program), SWIGTYPE_p_Ogre__SharedPtrT_Ogre__GpuProgramParameters_t.getCPtr(arg5), GpuProgramParameters.getCPtr(defaultParams));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }