Package zombie.core.textures
Class TextureDraw
java.lang.Object
zombie.core.textures.TextureDraw
public class TextureDraw
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextureDraw.Type -
Field Summary
-
Constructor Summary
Constructors Constructor Description TextureDraw() -
Method Summary
Modifier and Type Method Description static TextureDrawCreate(TextureDraw texd, Texture tex, int x, int y, int width, int height, float r, float g, float b, float a)static TextureDrawCreate(TextureDraw texd, Texture tex, int x, int y, int width, int height, float r, float g, float b, float a, float u1, float v1, float u2, float v2, float u3, float v3, float u4, float v4)static TextureDrawCreate(TextureDraw texd, Texture tex, int x, int y, int width, int height, int c)static voidCreate(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, float r1, float g1, float b1, float a1)static voidCreate(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, float r1, float g1, float b1, float a1, float r2, float g2, float b2, float a2, float r3, float g3, float b3, float a3, float r4, float g4, float b4, float a4)static voidCreate(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int c1, int c2, int c3, int c4)static voiddrawModel(TextureDraw texd, ModelManager.ModelSlot model)intgetColor(int i)static voidglAlphaFunc(TextureDraw texd, int a, float b)static voidglBind(TextureDraw textureDraw, int a)static voidglBlendFunc(TextureDraw texd, int a, int b)static voidglBuffer(TextureDraw texd, int a, int b)static voidglClear(TextureDraw texd, int a)static voidglColorMask(TextureDraw texd, int a, int b, int c, int d)static voidglDisable(TextureDraw texd, int a)static voidglDoEndFrame(TextureDraw texd)static voidglDoStartFrame(TextureDraw texd, int w, int h, int player)static voidglDoStartFrame(TextureDraw texd, int w, int h, int player, boolean isTextFrame)static voidglEnable(TextureDraw texd, int a)static voidglGenerateMipMaps(TextureDraw textureDraw, int a)static voidglLoadIdentity(TextureDraw textureDraw)static voidglStencilFunc(TextureDraw texd, int a, int b, int c)static voidglStencilMask(TextureDraw texd, int a)static voidglStencilOp(TextureDraw texd, int a, int b, int c)static voidglTexParameteri(TextureDraw texd, int a, int b, int c)static voidglViewport(TextureDraw textureDraw, int a, int b, int c, int d)static voidPopIso(TextureDraw textureDraw)static voidPushIso(TextureDraw textureDraw)voidreset()voidrun()static voidShaderUpdate(TextureDraw texd, int shaderID, int uniform, float uniformValue)static voidStartShader(TextureDraw texd, int iD)static voidtoBodyAtlas(TextureDraw texd, DeadBodyAtlas.RenderJob job)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
-
a
public int a -
b
public int b -
f1
public float f1 -
c
public int c -
col
public int[] col -
x
public short[] x -
y
public short[] y -
u
public float[] u -
v
public float[] v -
tex
-
bSingleCol
public boolean bSingleCol -
job
-
flipped
public boolean flipped
-
-
Constructor Details
-
TextureDraw
public TextureDraw()
-
-
Method Details
-
Create
public static void Create(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, float r1, float g1, float b1, float a1, float r2, float g2, float b2, float a2, float r3, float g3, float b3, float a3, float r4, float g4, float b4, float a4) -
Create
public static void Create(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, float r1, float g1, float b1, float a1) -
Create
public static void Create(TextureDraw texd, Texture tex, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int c1, int c2, int c3, int c4) -
glStencilFunc
-
glBuffer
-
glStencilOp
-
glDisable
-
glClear
-
glEnable
-
glAlphaFunc
-
glColorMask
-
glStencilMask
-
glBlendFunc
-
glDoEndFrame
-
glDoStartFrame
-
glDoStartFrame
-
glTexParameteri
-
drawModel
-
toBodyAtlas
-
StartShader
-
ShaderUpdate
-
run
public void run() -
PopIso
-
PushIso
-
Create
public static TextureDraw Create(TextureDraw texd, Texture tex, int x, int y, int width, int height, float r, float g, float b, float a) -
Create
public static TextureDraw Create(TextureDraw texd, Texture tex, int x, int y, int width, int height, float r, float g, float b, float a, float u1, float v1, float u2, float v2, float u3, float v3, float u4, float v4) -
Create
public static TextureDraw Create(TextureDraw texd, Texture tex, int x, int y, int width, int height, int c) -
getColor
public int getColor(int i) -
reset
public void reset() -
glLoadIdentity
-
glGenerateMipMaps
-
glBind
-
glViewport
-