Пример #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;
 }
Пример #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;
 }