Package zombie.core.textures
Class TextureDraw
java.lang.Object
zombie.core.textures.TextureDraw
public final class TextureDraw
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextureDraw.GenericDrawer
static class
TextureDraw.Type
-
Field Summary
Fields Modifier and Type Field Description int
a
int
b
boolean
bSingleCol
int
c
int
col0
int
col1
int
col2
int
col3
int
d
TextureDraw.GenericDrawer
drawer
float
f1
boolean
flipped
Texture
tex
Texture
tex1
int
tex1_col0
int
tex1_col1
int
tex1_col2
int
tex1_col3
float
tex1_u0
float
tex1_u1
float
tex1_u2
float
tex1_u3
float
tex1_v0
float
tex1_v1
float
tex1_v2
float
tex1_v3
TextureDraw.Type
type
float
u0
float
u1
float
u2
float
u3
byte
useAttribArray
float
v0
float
v1
float
v2
float
v3
float[]
vars
float
x0
float
x1
float
x2
float
x3
float
y0
float
y1
float
y2
float
y3
-
Constructor Summary
Constructors Constructor Description TextureDraw()
-
Method Summary
Modifier and Type Method Description static void
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
static void
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, float float17, float float18, float float19, float float20, float float21, float float22, float float23, float float24, java.util.function.Consumer consumer)
static TextureDraw
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, java.util.function.Consumer consumer)
static void
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4)
static TextureDraw
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, java.util.function.Consumer consumer)
static TextureDraw
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4, java.util.function.Consumer consumer)
static TextureDraw
Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer)
static TextureDraw
Create(TextureDraw textureDraw, Texture texture, SpriteRenderer.WallShaderTexRender wallShaderTexRender, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer)
static void
doCoreIntParam(TextureDraw textureDraw, int int1, float float1)
static void
drawModel(TextureDraw textureDraw, ModelManager.ModelSlot modelSlot)
static void
drawParticles(TextureDraw textureDraw, int int1, int int2, int int3)
static void
drawPuddles(TextureDraw textureDraw, Shader shader, int int1, int int2, int int3)
static void
drawSkyBox(TextureDraw textureDraw, Shader shader, int int1, int int2, int int3)
static void
drawWater(TextureDraw textureDraw, Shader shader, int int1, int int2, boolean boolean1)
int
getColor(int int1)
static void
glAlphaFunc(TextureDraw textureDraw, int int1, float float1)
static void
glBind(TextureDraw textureDraw, int int1)
static void
glBlendEquation(TextureDraw textureDraw, int int1)
static void
glBlendFunc(TextureDraw textureDraw, int int1, int int2)
static void
glBlendFuncSeparate(TextureDraw textureDraw, int int1, int int2, int int3, int int4)
static void
glBuffer(TextureDraw textureDraw, int int1, int int2)
static void
glClear(TextureDraw textureDraw, int int1)
static void
glClearColor(TextureDraw textureDraw, int int1, int int2, int int3, int int4)
static void
glColorMask(TextureDraw textureDraw, int int1, int int2, int int3, int int4)
static void
glDepthMask(TextureDraw textureDraw, boolean boolean1)
static void
glDisable(TextureDraw textureDraw, int int1)
static void
glDoEndFrame(TextureDraw textureDraw)
static void
glDoEndFrameFx(TextureDraw textureDraw, int int1)
static void
glDoStartFrame(TextureDraw textureDraw, int int1, int int2, float float1, int int3)
static void
glDoStartFrame(TextureDraw textureDraw, int int1, int int2, float float1, int int3, boolean boolean1)
static void
glDoStartFrameFx(TextureDraw textureDraw, int int1, int int2, int int3)
static void
glEnable(TextureDraw textureDraw, int int1)
static void
glGenerateMipMaps(TextureDraw textureDraw, int int1)
static void
glIgnoreStyles(TextureDraw textureDraw, boolean boolean1)
static void
glLoadIdentity(TextureDraw textureDraw)
static void
glStencilFunc(TextureDraw textureDraw, int int1, int int2, int int3)
static void
glStencilMask(TextureDraw textureDraw, int int1)
static void
glStencilOp(TextureDraw textureDraw, int int1, int int2, int int3)
static void
glTexParameteri(TextureDraw textureDraw, int int1, int int2, int int3)
static void
glViewport(TextureDraw textureDraw, int int1, int int2, int int3, int int4)
void
postRender()
void
reset()
void
run()
static void
ShaderUpdate1f(TextureDraw textureDraw, int int1, int int2, float float1)
static void
ShaderUpdate1i(TextureDraw textureDraw, int int1, int int2, int int3)
static void
ShaderUpdate2f(TextureDraw textureDraw, int int1, int int2, float float1, float float2)
static void
ShaderUpdate3f(TextureDraw textureDraw, int int1, int int2, float float1, float float2, float float3)
static void
ShaderUpdate4f(TextureDraw textureDraw, int int1, int int2, float float1, float float2, float float3, float float4)
static void
StartShader(TextureDraw textureDraw, int int1)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
type
-
a
public int a -
b
public int b -
f1
public float f1 -
vars
public float[] vars -
c
public int c -
d
public int d -
col0
public int col0 -
col1
public int col1 -
col2
public int col2 -
col3
public int col3 -
x0
public float x0 -
x1
public float x1 -
x2
public float x2 -
x3
public float x3 -
y0
public float y0 -
y1
public float y1 -
y2
public float y2 -
y3
public float y3 -
u0
public float u0 -
u1
public float u1 -
u2
public float u2 -
u3
public float u3 -
v0
public float v0 -
v1
public float v1 -
v2
public float v2 -
v3
public float v3 -
tex
-
tex1
-
useAttribArray
public byte useAttribArray -
tex1_u0
public float tex1_u0 -
tex1_u1
public float tex1_u1 -
tex1_u2
public float tex1_u2 -
tex1_u3
public float tex1_u3 -
tex1_v0
public float tex1_v0 -
tex1_v1
public float tex1_v1 -
tex1_v2
public float tex1_v2 -
tex1_v3
public float tex1_v3 -
tex1_col0
public int tex1_col0 -
tex1_col1
public int tex1_col1 -
tex1_col2
public int tex1_col2 -
tex1_col3
public int tex1_col3 -
bSingleCol
public boolean bSingleCol -
flipped
public boolean flipped -
drawer
-
-
Constructor Details
-
TextureDraw
public TextureDraw()
-
-
Method Details
-
glStencilFunc
-
glBuffer
-
glStencilOp
-
glDisable
-
glClear
-
glClearColor
-
glEnable
-
glAlphaFunc
-
glColorMask
-
glStencilMask
-
glBlendFunc
-
glBlendFuncSeparate
public static void glBlendFuncSeparate(TextureDraw textureDraw, int int1, int int2, int int3, int int4) -
glBlendEquation
-
glDoEndFrame
-
glDoEndFrameFx
-
glIgnoreStyles
-
glDoStartFrame
public static void glDoStartFrame(TextureDraw textureDraw, int int1, int int2, float float1, int int3) -
glDoStartFrame
public static void glDoStartFrame(TextureDraw textureDraw, int int1, int int2, float float1, int int3, boolean boolean1) -
glDoStartFrameFx
-
glTexParameteri
-
drawModel
-
drawSkyBox
public static void drawSkyBox(TextureDraw textureDraw, Shader shader, int int1, int int2, int int3) -
drawWater
public static void drawWater(TextureDraw textureDraw, Shader shader, int int1, int int2, boolean boolean1) -
drawPuddles
public static void drawPuddles(TextureDraw textureDraw, Shader shader, int int1, int int2, int int3) -
drawParticles
-
StartShader
-
ShaderUpdate1i
-
ShaderUpdate1f
-
ShaderUpdate2f
public static void ShaderUpdate2f(TextureDraw textureDraw, int int1, int int2, float float1, float float2) -
ShaderUpdate3f
public static void ShaderUpdate3f(TextureDraw textureDraw, int int1, int int2, float float1, float float2, float float3) -
ShaderUpdate4f
public static void ShaderUpdate4f(TextureDraw textureDraw, int int1, int int2, float float1, float float2, float float3, float float4) -
run
public void run() -
glDepthMask
-
doCoreIntParam
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
Create
public static TextureDraw Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer) -
Create
public static TextureDraw Create(TextureDraw textureDraw, Texture texture, SpriteRenderer.WallShaderTexRender wallShaderTexRender, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer) -
Create
public static TextureDraw Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, java.util.function.Consumer consumer) -
Create
public static void Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, float float17, float float18, float float19, float float20, float float21, float float22, float float23, float float24, java.util.function.Consumer consumer) -
Create
public static void Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
Create
public static void Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4) -
Create
public static TextureDraw Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4, java.util.function.Consumer consumer) -
Create
public static TextureDraw Create(TextureDraw textureDraw, Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1, int int2, int int3, int int4, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, java.util.function.Consumer consumer) -
getColor
public int getColor(int int1) -
reset
public void reset() -
glLoadIdentity
-
glGenerateMipMaps
-
glBind
-
glViewport
-
postRender
public void postRender()
-