Exemplo n.º 1
0
 private EffectParameterType ConvertVariableValueType(ShaderVariableType type, LoggerResult log)
 {
     EffectParameterType effectParameterType;
     if (!MapTypes.TryGetValue(type, out effectParameterType))
     {
         log.Error("Type [{0}] from D3DCompiler not supported", type);
     }
     return effectParameterType;
 }
Exemplo n.º 2
0
 private EffectParameterType ConvertVariableValueType(ShaderVariableType type, LoggerResult log)
 {
     EffectParameterType effectParameterType;
     if (!MapTypes.TryGetValue(type, out effectParameterType))
     {
         log.Error("Type [{0}] from D3DCompiler not supported", type);
     }
     return effectParameterType;
 }