Exemple #1
0
 /// <summary>Loads the entire state of the material from a descriptor with a single call. </summary>
 /// <param name="desc">The descriptor used to set this objects state.</param>
 public virtual void loadFromDesc(NxMaterialDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxMaterial_loadFromDesc_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef));
 }
Exemple #2
0
 private void loadFromDesc_virtual(IntPtr desc)
 {
     loadFromDesc(NxMaterialDesc.GetClass(desc));
 }
Exemple #3
0
 private void saveToDesc_virtual(IntPtr desc)
 {
     saveToDesc(NxMaterialDesc.GetClass(desc));
 }