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