Esempio n. 1
0
 protected virtual object EvalRender_State_SlopeScaleDepthBias(ParseTree tree, params object[] paramlist)
 {
     (paramlist[0] as PassInfo).SlopeScaleDepthBias = ParseTreeTools.ParseFloat((string)this.GetValue(tree, TokenType.Number, 0)); return(null);
 }
Esempio n. 2
0
 protected virtual object EvalSampler_State_MipLodBias(ParseTree tree, params object[] paramlist)
 {
     (paramlist[0] as SamplerStateInfo).MipMapLevelOfDetailBias = ParseTreeTools.ParseFloat((string)this.GetValue(tree, TokenType.Number, 0)); return(null);
 }