public NNS_MATERIAL_GLES11_DESC(AppMain.NNS_MATERIAL_GLES11_DESC desc) { this.fFlag = desc.fFlag; this.User = desc.User; this.pColor = desc.pColor; this.pLogic = desc.pLogic; this.nTex = desc.nTex; this.pTexDesc = desc.pTexDesc; }
public AppMain.NNS_MATERIAL_GLES11_DESC Assign(AppMain.NNS_MATERIAL_GLES11_DESC desc) { this.fFlag = desc.fFlag; this.User = desc.User; this.pColor = desc.pColor; this.pLogic = desc.pLogic; this.nTex = desc.nTex; this.pTexDesc = desc.pTexDesc; return(this); }
public AppMain.NNS_MATERIAL_GLES11_LOGIC Assign(AppMain.NNS_MATERIAL_GLES11_LOGIC logic) { this.fFlag = logic.fFlag; this.SrcFactor = logic.SrcFactor; this.DstFactor = logic.DstFactor; this.BlendOp = logic.BlendOp; this.LogicOp = logic.LogicOp; this.AlphaFunc = logic.AlphaFunc; this.DepthFunc = logic.DepthFunc; this.AlphaRef = logic.AlphaRef; return(this); }