示例#1
0
 public MaterialPtr(MaterialPtr r) : this(OgrePINVOKE.new_MaterialPtr__SWIG_2(MaterialPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void copyDetailsTo(MaterialPtr mat)
 {
     OgrePINVOKE.MaterialPtr_copyDetailsTo(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void _setMaterial(MaterialPtr mat)
 {
     OgreOverlayPINVOKE.Font__setMaterial(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
     {
         throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public virtual void setMaterial(MaterialPtr mat)
 {
     OgrePINVOKE.SimpleRenderable_setMaterial(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public void setShadowReceiverMaterial(MaterialPtr val)
 {
     OgrePINVOKE.Technique_setShadowReceiverMaterial__SWIG_0(swigCPtr, MaterialPtr.getCPtr(val));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
0
 public void setMaterial(MaterialPtr mat)
 {
     OgrePINVOKE.Frustum_setMaterial(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#7
0
 public virtual void begin(MaterialPtr mat)
 {
     OgrePINVOKE.ManualObject_begin__SWIG_4(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
 public void setMaterial(MaterialPtr mat)
 {
     OgrePINVOKE.ManualObject_ManualObjectSection_setMaterial(swigCPtr, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#9
0
 public virtual void setMaterial(uint subIndex, MaterialPtr mat)
 {
     OgrePINVOKE.ManualObject_setMaterial(swigCPtr, subIndex, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#10
0
 public void exportMaterial(MaterialPtr pMat, string filename)
 {
     OgrePINVOKE.MaterialSerializer_exportMaterial__SWIG_4(swigCPtr, MaterialPtr.getCPtr(pMat), filename);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#11
0
 public virtual void begin(MaterialPtr mat, RenderOperation.OperationType opType)
 {
     OgrePINVOKE.ManualObject_begin__SWIG_3(swigCPtr, MaterialPtr.getCPtr(mat), (int)opType);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#12
0
 public void exportMaterial(MaterialPtr pMat, string filename, bool exportDefaults, bool includeProgDef)
 {
     OgrePINVOKE.MaterialSerializer_exportMaterial__SWIG_2(swigCPtr, MaterialPtr.getCPtr(pMat), filename, exportDefaults, includeProgDef);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#13
0
 public void queueForExport(MaterialPtr pMat)
 {
     OgrePINVOKE.MaterialSerializer_queueForExport__SWIG_3(swigCPtr, MaterialPtr.getCPtr(pMat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#14
0
 public void queueForExport(MaterialPtr pMat, bool clearQueued, bool exportDefaults)
 {
     OgrePINVOKE.MaterialSerializer_queueForExport__SWIG_1(swigCPtr, MaterialPtr.getCPtr(pMat), clearQueued, exportDefaults);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#15
0
 public virtual void setMaterial(MaterialPtr material)
 {
     OgrePINVOKE.BillboardSet_setMaterial(swigCPtr, MaterialPtr.getCPtr(material));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#16
0
 public ManualObjectSection(ManualObject parent, MaterialPtr mat, RenderOperation.OperationType opType) : this(OgrePINVOKE.new_ManualObject_ManualObjectSection__SWIG_2(ManualObject.getCPtr(parent), MaterialPtr.getCPtr(mat), (int)opType), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#17
0
 public virtual void notifyMaterialSetup(uint pass_id, MaterialPtr mat)
 {
     if (SwigDerivedClassHasMethod("notifyMaterialSetup", swigMethodTypes0))
     {
         OgrePINVOKE.CompositorInstance_Listener_notifyMaterialSetupSwigExplicitListener(swigCPtr, pass_id, MaterialPtr.getCPtr(mat));
     }
     else
     {
         OgrePINVOKE.CompositorInstance_Listener_notifyMaterialSetup(swigCPtr, pass_id, MaterialPtr.getCPtr(mat));
     }
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#18
0
 public void _fireNotifyMaterialRender(uint pass_id, MaterialPtr mat)
 {
     OgrePINVOKE.CompositorInstance__fireNotifyMaterialRender(swigCPtr, pass_id, MaterialPtr.getCPtr(mat));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.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();
     }
 }