Java 类org.lwjgl.opengl.EXTBlendFuncSeparate 实例源码

项目:DecompiledMinecraft    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:BaseClient    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:BaseClient    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:Backmemed    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:CustomWorldGen    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:ExpandedRailsMod    文件:OpenGlHelper.java   
public static void glBlendFunc(int sFactorRGB, int dFactorRGB, int sfactorAlpha, int dfactorAlpha)
{
    if (openGL14)
    {
        if (extBlendFuncSeparate)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
        else
        {
            GL14.glBlendFuncSeparate(sFactorRGB, dFactorRGB, sfactorAlpha, dfactorAlpha);
        }
    }
    else
    {
        GL11.glBlendFunc(sFactorRGB, dFactorRGB);
    }
}
项目:Cauldron    文件:OpenGlHelper.java   
public static void glBlendFunc(int p_148821_0_, int p_148821_1_, int p_148821_2_, int p_148821_3_)
{
    if (openGL14)
    {
        if (field_153211_u)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(p_148821_0_, p_148821_1_, p_148821_2_, p_148821_3_);
        }
        else
        {
            GL14.glBlendFuncSeparate(p_148821_0_, p_148821_1_, p_148821_2_, p_148821_3_);
        }
    }
    else
    {
        GL11.glBlendFunc(p_148821_0_, p_148821_1_);
    }
}
项目:Cauldron    文件:OpenGlHelper.java   
public static void glBlendFunc(int p_148821_0_, int p_148821_1_, int p_148821_2_, int p_148821_3_)
{
    if (openGL14)
    {
        if (field_153211_u)
        {
            EXTBlendFuncSeparate.glBlendFuncSeparateEXT(p_148821_0_, p_148821_1_, p_148821_2_, p_148821_3_);
        }
        else
        {
            GL14.glBlendFuncSeparate(p_148821_0_, p_148821_1_, p_148821_2_, p_148821_3_);
        }
    }
    else
    {
        GL11.glBlendFunc(p_148821_0_, p_148821_1_);
    }
}