本文整理汇总了Java中org.lwjgl.opengl.ARBMultitexture.glMultiTexCoord2fARB方法的典型用法代码示例。如果您正苦于以下问题:Java ARBMultitexture.glMultiTexCoord2fARB方法的具体用法?Java ARBMultitexture.glMultiTexCoord2fARB怎么用?Java ARBMultitexture.glMultiTexCoord2fARB使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.lwjgl.opengl.ARBMultitexture
的用法示例。
在下文中一共展示了ARBMultitexture.glMultiTexCoord2fARB方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setLightmapTextureCoords
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
/**
* Sets the current coordinates of the given lightmap texture
*/
public static void setLightmapTextureCoords(int target, float p_77475_1_, float p_77475_2_)
{
if (arbMultitexture)
{
ARBMultitexture.glMultiTexCoord2fARB(target, p_77475_1_, p_77475_2_);
}
else
{
GL13.glMultiTexCoord2f(target, p_77475_1_, p_77475_2_);
}
if (target == lightmapTexUnit)
{
lastBrightnessX = p_77475_1_;
lastBrightnessY = p_77475_2_;
}
}
示例2: setLightmapTextureCoords
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
/**
* Sets the current coordinates of the given lightmap texture
*/
public static void setLightmapTextureCoords(int target, float p_77475_1_, float t)
{
if (arbMultitexture)
{
ARBMultitexture.glMultiTexCoord2fARB(target, p_77475_1_, t);
}
else
{
GL13.glMultiTexCoord2f(target, p_77475_1_, t);
}
if (target == lightmapTexUnit)
{
lastBrightnessX = p_77475_1_;
lastBrightnessY = t;
}
}
示例3: setLightmapTextureCoords
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
/**
* Sets the current coordinates of the given lightmap texture
*/
public static void setLightmapTextureCoords(int par0, float par1, float par2)
{
if (useMultitextureARB)
{
ARBMultitexture.glMultiTexCoord2fARB(par0, par1, par2);
}
else
{
GL13.glMultiTexCoord2f(par0, par1, par2);
}
if (par0 == lightmapTexUnit)
{
lastBrightnessX = par1;
lastBrightnessY = par2;
}
}
示例4: setLightmapTextureCoords
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
public static void setLightmapTextureCoords(int p_77475_0_, float p_77475_1_, float p_77475_2_)
{
if (field_153215_z)
{
ARBMultitexture.glMultiTexCoord2fARB(p_77475_0_, p_77475_1_, p_77475_2_);
}
else
{
GL13.glMultiTexCoord2f(p_77475_0_, p_77475_1_, p_77475_2_);
}
if (p_77475_0_ == lightmapTexUnit)
{
lastBrightnessX = p_77475_1_;
lastBrightnessY = p_77475_2_;
}
}
示例5: setLightmapTextureCoords
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
/**
* Sets the current coordinates of the given lightmap texture
*/
public static void setLightmapTextureCoords(int target, float p_77475_1_, float p_77475_2_)
{
if (arbMultitexture)
{
ARBMultitexture.glMultiTexCoord2fARB(target, p_77475_1_, p_77475_2_);
}
else
{
GL13.glMultiTexCoord2f(target, p_77475_1_, p_77475_2_);
}
}
示例6: func_77475_a
import org.lwjgl.opengl.ARBMultitexture; //导入方法依赖的package包/类
public static void func_77475_a(int p_77475_0_, float p_77475_1_, float p_77475_2_) {
if(field_77477_c) {
ARBMultitexture.glMultiTexCoord2fARB(p_77475_0_, p_77475_1_, p_77475_2_);
} else {
GL13.glMultiTexCoord2f(p_77475_0_, p_77475_1_, p_77475_2_);
}
}