Ejemplo n.º 1
0
 public AppMain.NNS_TEXTURE_COMBINE Assign(AppMain.NNS_TEXTURE_COMBINE combine)
 {
     this.CombineRGB    = combine.CombineRGB;
     this.Source0RGB    = combine.Source0RGB;
     this.Operand0RGB   = combine.Operand0RGB;
     this.Source1RGB    = combine.Source1RGB;
     this.Operand1RGB   = combine.Operand1RGB;
     this.Source2RGB    = combine.Source2RGB;
     this.Operand2RGB   = combine.Operand2RGB;
     this.CombineAlpha  = combine.CombineAlpha;
     this.Source0Alpha  = combine.Source0Alpha;
     this.Operand0Alpha = combine.Operand0Alpha;
     this.Source1Alpha  = combine.Source1Alpha;
     this.Operand1Alpha = combine.Operand1Alpha;
     this.Source2Alpha  = combine.Source2Alpha;
     this.Operand2Alpha = combine.Operand2Alpha;
     return(this);
 }
Ejemplo n.º 2
0
 public NNS_MATERIAL_TEXMAP_DESC(AppMain.NNS_MATERIAL_TEXMAP_DESC desc)
 {
     this.fType        = desc.fType;
     this.iTexIdx      = desc.iTexIdx;
     this.EnvMode      = desc.EnvMode;
     this.pCombine     = desc.pCombine;
     this.EnvColor     = desc.EnvColor;
     this.Offset       = desc.Offset;
     this.Scale        = desc.Scale;
     this.WrapS        = desc.WrapS;
     this.WrapT        = desc.WrapT;
     this.pBorderColor = desc.pBorderColor;
     this.pFilterMode  = desc.pFilterMode;
     this.pLODParam    = desc.pLODParam;
     this.pTexInfo     = desc.pTexInfo;
     this.Reserved1    = desc.Reserved1;
     this.Reserved0    = desc.Reserved0;
 }