Example #1
0
 public NNS_MATERIAL_DESC(AppMain.NNS_MATERIAL_DESC desc)
 {
     this.fFlag      = desc.fFlag;
     this.User       = desc.User;
     this.pColor     = desc.pColor;
     this.pBackColor = desc.pBackColor;
     this.pLogic     = desc.pLogic;
     this.nTex       = desc.nTex;
     this.pTexDesc   = desc.pTexDesc;
 }
Example #2
0
 public NNS_MATERIAL_STDSHADER_DESC(AppMain.NNS_MATERIAL_STDSHADER_DESC desc)
 {
     this.fFlag    = desc.fFlag;
     this.User     = desc.User;
     this.pColor   = desc.pColor;
     this.pLogic   = desc.pLogic;
     this.fTexType = desc.fTexType;
     this.nTex     = desc.nTex;
     this.pTexDesc = desc.pTexDesc;
 }
Example #3
0
 public AppMain.NNS_MATERIAL_DESC Assign(AppMain.NNS_MATERIAL_DESC desc)
 {
     this.fFlag      = desc.fFlag;
     this.User       = desc.User;
     this.pColor     = desc.pColor;
     this.pBackColor = desc.pBackColor;
     this.pLogic     = desc.pLogic;
     this.nTex       = desc.nTex;
     this.pTexDesc   = desc.pTexDesc;
     return(this);
 }
Example #4
0
 public AppMain.NNS_MATERIAL_LOGIC Assign(AppMain.NNS_MATERIAL_LOGIC matLogic)
 {
     this.fFlag        = matLogic.fFlag;
     this.SrcFactorRGB = matLogic.SrcFactorRGB;
     this.DstFactorRGB = matLogic.DstFactorRGB;
     this.SrcFactorA   = matLogic.SrcFactorA;
     this.DstFactorA   = matLogic.DstFactorA;
     this.BlendColor   = matLogic.BlendColor;
     this.BlendOp      = matLogic.BlendOp;
     this.LogicOp      = matLogic.LogicOp;
     this.AlphaFunc    = matLogic.AlphaFunc;
     this.DepthFunc    = matLogic.DepthFunc;
     this.AlphaRef     = matLogic.AlphaRef;
     return(this);
 }