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; }