本文整理汇总了Java中org.lwjgl.opengl.ARBMultitexture类的典型用法代码示例。如果您正苦于以下问题:Java ARBMultitexture类的具体用法?Java ARBMultitexture怎么用?Java ARBMultitexture使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ARBMultitexture类属于org.lwjgl.opengl包,在下文中一共展示了ARBMultitexture类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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: func_147993_b
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public void func_147993_b()
{
OpenGlHelper.func_153161_d(0);
field_147999_d = -1;
staticShaderManager = null;
field_148000_e = true;
for (int i = 0; i < this.field_148010_h.size(); ++i)
{
if (this.field_147997_f.get(this.field_147998_g.get(i)) != null)
{
GL13.glActiveTexture(ARBMultitexture.GL_TEXTURE0_ARB + i);
GL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);
}
}
}
示例5: 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_;
}
}
示例6: setActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
/**
* Sets the current lightmap texture to the specified OpenGL constant
*/
public static void setActiveTexture(int texture)
{
if (arbMultitexture)
{
ARBMultitexture.glActiveTextureARB(texture);
}
else
{
GL13.glActiveTexture(texture);
}
}
示例7: setClientActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
/**
* Sets the current lightmap texture to the specified OpenGL constant
*/
public static void setClientActiveTexture(int texture)
{
if (arbMultitexture)
{
ARBMultitexture.glClientActiveTextureARB(texture);
}
else
{
GL13.glClientActiveTexture(texture);
}
}
示例8: 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_);
}
}
示例9: setActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
/**
* Sets the current lightmap texture to the specified OpenGL constant
*/
public static void setActiveTexture(int par0)
{
if (useMultitextureARB)
{
ARBMultitexture.glActiveTextureARB(par0);
}
else
{
GL13.glActiveTexture(par0);
}
}
示例10: setClientActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
/**
* Sets the current lightmap texture to the specified OpenGL constant
*/
public static void setClientActiveTexture(int par0)
{
if (useMultitextureARB)
{
ARBMultitexture.glClientActiveTextureARB(par0);
}
else
{
GL13.glClientActiveTexture(par0);
}
}
示例11: bindTextureForSource
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public static void bindTextureForSource(int glTexture, int textureIndex)
{
GlStateManager.bindTexture(textureIndex);
GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL14.GL_TEXTURE_COMPARE_MODE, GL11.GL_NONE);
GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL14.GL_DEPTH_TEXTURE_MODE, GL11.GL_LUMINANCE);
OpenGlHelper.setActiveTexture(glTexture);
GlStateManager.bindTexture(textureIndex);
OpenGlHelper.setActiveTexture(ARBMultitexture.GL_TEXTURE0_ARB);
}
示例12: setActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public static void setActiveTexture(int p_77473_0_)
{
if (field_153215_z)
{
ARBMultitexture.glActiveTextureARB(p_77473_0_);
}
else
{
GL13.glActiveTexture(p_77473_0_);
}
}
示例13: setClientActiveTexture
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public static void setClientActiveTexture(int p_77472_0_)
{
if (field_153215_z)
{
ARBMultitexture.glClientActiveTextureARB(p_77472_0_);
}
else
{
GL13.glClientActiveTexture(p_77472_0_);
}
}
示例14: func_77473_a
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public static void func_77473_a(int p_77473_0_) {
if(field_77477_c) {
ARBMultitexture.glActiveTextureARB(p_77473_0_);
} else {
GL13.glActiveTexture(p_77473_0_);
}
}
示例15: func_77472_b
import org.lwjgl.opengl.ARBMultitexture; //导入依赖的package包/类
public static void func_77472_b(int p_77472_0_) {
if(field_77477_c) {
ARBMultitexture.glClientActiveTextureARB(p_77472_0_);
} else {
GL13.glClientActiveTexture(p_77472_0_);
}
}