コード例 #1
0
ファイル: UtilsHLSL.cpp プロジェクト: null77/angle
const char *SamplerString(const TBasicType type)
{
    if (IsShadowSampler(type))
    {
        return "SamplerComparisonState";
    }
    else
    {
        return "SamplerState";
    }
}
コード例 #2
0
ファイル: UtilsHLSL.cpp プロジェクト: venkatarajasekhar/Qt
TString SamplerString(const TType &type)
{
    if (IsShadowSampler(type.getBasicType()))
    {
        return "SamplerComparisonState";
    }
    else
    {
        return "SamplerState";
    }
}