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 class
TextureDraw.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TextureDraw()
-
Method Summary
Modifier and Type Method Description static TextureDraw
Create(TextureDraw texd, Texture tex, int x, int y, int width, int height, float r, float g, float b, float a)
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)
static TextureDraw
Create(TextureDraw texd, Texture tex, int x, int y, int width, int height, int c)
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)
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)
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)
static void
drawModel(TextureDraw texd, ModelManager.ModelSlot model)
int
getColor(int i)
static void
glAlphaFunc(TextureDraw texd, int a, float b)
static void
glBind(TextureDraw textureDraw, int a)
static void
glBlendFunc(TextureDraw texd, int a, int b)
static void
glBuffer(TextureDraw texd, int a, int b)
static void
glClear(TextureDraw texd, int a)
static void
glColorMask(TextureDraw texd, int a, int b, int c, int d)
static void
glDisable(TextureDraw texd, int a)
static void
glDoEndFrame(TextureDraw texd)
static void
glDoStartFrame(TextureDraw texd, int w, int h, int player)
static void
glDoStartFrame(TextureDraw texd, int w, int h, int player, boolean isTextFrame)
static void
glEnable(TextureDraw texd, int a)
static void
glGenerateMipMaps(TextureDraw textureDraw, int a)
static void
glLoadIdentity(TextureDraw textureDraw)
static void
glStencilFunc(TextureDraw texd, int a, int b, int c)
static void
glStencilMask(TextureDraw texd, int a)
static void
glStencilOp(TextureDraw texd, int a, int b, int c)
static void
glTexParameteri(TextureDraw texd, int a, int b, int c)
static void
glViewport(TextureDraw textureDraw, int a, int b, int c, int d)
static void
PopIso(TextureDraw textureDraw)
static void
PushIso(TextureDraw textureDraw)
void
reset()
void
run()
static void
ShaderUpdate(TextureDraw texd, int shaderID, int uniform, float uniformValue)
static void
StartShader(TextureDraw texd, int iD)
static void
toBodyAtlas(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
-