zombie.core.textures
Class TextureDraw
java.lang.Object
zombie.core.textures.TextureDraw
public class TextureDraw
- extends java.lang.Object
- Author:
- LEMMY
Method Summary |
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)
|
int |
getColor(int i)
|
static void |
glAlphaFunc(TextureDraw texd,
int a,
float b)
|
static void |
glBlendFunc(TextureDraw texd,
int a,
float 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)
|
static void |
glEnable(TextureDraw texd,
int a)
|
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)
|
boolean |
isOnScreen()
|
void |
reset()
|
void |
run()
|
static void |
StartShader(TextureDraw texd,
int iD)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public TextureDraw.Type 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
public Texture tex
bSingleCol
public boolean bSingleCol
flipped
public boolean flipped
TextureDraw
public TextureDraw()
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
public static void glStencilFunc(TextureDraw texd,
int a,
int b,
int c)
glBuffer
public static void glBuffer(TextureDraw texd,
int a,
int b)
glStencilOp
public static void glStencilOp(TextureDraw texd,
int a,
int b,
int c)
glDisable
public static void glDisable(TextureDraw texd,
int a)
glClear
public static void glClear(TextureDraw texd,
int a)
glEnable
public static void glEnable(TextureDraw texd,
int a)
glAlphaFunc
public static void glAlphaFunc(TextureDraw texd,
int a,
float b)
glColorMask
public static void glColorMask(TextureDraw texd,
int a,
int b,
int c,
int d)
glStencilMask
public static void glStencilMask(TextureDraw texd,
int a)
glBlendFunc
public static void glBlendFunc(TextureDraw texd,
int a,
float b)
glDoEndFrame
public static void glDoEndFrame(TextureDraw texd)
glDoStartFrame
public static void glDoStartFrame(TextureDraw texd,
int w,
int h)
glTexParameteri
public static void glTexParameteri(TextureDraw texd,
int a,
int b,
int c)
StartShader
public static void StartShader(TextureDraw texd,
int iD)
run
public void run()
isOnScreen
public boolean isOnScreen()
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()