Class TextureDraw
java.lang.Object
zombie.core.textures.TextureDraw
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
boolean
int
float
int
int
int
int
int
float
boolean
Future
<?> imgui.ImDrawData
static float
static float
int
int
int
int
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
byte
float
float
float
float
float[]
float
float
float
float
float
float
float
float
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
BeginProfile
(TextureDraw textureDraw, PerformanceProfileProbe performanceProfileProbe) static void
Create
(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, float r1, float g1, float b1, float a1) static void
Create
(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float 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, Consumer<TextureDraw> texdModifier) static TextureDraw
Create
(TextureDraw texd, Texture _tex, float x, float y, float width, float 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, Consumer<TextureDraw> texdModifier) static void
Create
(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, int c1, int c2, int c3, int c4) static TextureDraw
Create
(TextureDraw texd, Texture _tex, float _x0, float _y0, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, int c0, int c1, int c2, int c3, float _u0, float _v0, float _u1, float _v1, float _u2, float _v2, float _u3, float _v3, Consumer<TextureDraw> texdModifier) static TextureDraw
Create
(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, int c1, int c2, int c3, int c4, Consumer<TextureDraw> texdModifier) static TextureDraw
Create
(TextureDraw texd, Texture _tex, float x, float y, float width, float height, float r, float g, float _b, float _a, Consumer<TextureDraw> texdModifier) static TextureDraw
Create
(TextureDraw texd, Texture _tex, SpriteRenderer.WallShaderTexRender wallSection, float x, float y, float width, float height, float r, float g, float _b, float _a, Consumer<TextureDraw> texdModifier) static void
doCoreIntParam
(TextureDraw textureDraw, int id, float val) static void
drawModel
(TextureDraw texd, ModelManager.ModelSlot model) static void
drawParticles
(TextureDraw texd, int userId, int var1, int var2) static void
drawPuddles
(TextureDraw textureDraw, int int0, int int1, int int2, int int3) static void
DrawQueued
(TextureDraw textureDraw, ModelManager.ModelSlot modelSlot) static void
drawSkyBox
(TextureDraw texd, Shader shader, int userId, int apiId, int bufferId) static void
drawWater
(TextureDraw texd, Shader shader, int userId, int apiId, boolean bShore) static void
EndProfile
(TextureDraw textureDraw, PerformanceProfileProbe performanceProfileProbe) static void
FBORenderChunkEnd
(TextureDraw textureDraw) static void
FBORenderChunkStart
(TextureDraw textureDraw, int int0, boolean boolean0) int
getColor
(int i) static void
glAlphaFunc
(TextureDraw texd, int _a, float _b) static void
glBind
(TextureDraw textureDraw, int _a) static void
glBindFramebuffer
(TextureDraw textureDraw, int int0, int int1) static void
glBlendEquation
(TextureDraw texd, int _a) static void
glBlendFunc
(TextureDraw texd, int _a, int _b) static void
glBlendFuncSeparate
(TextureDraw texd, int _a, int _b, int _c, int _d) static void
glBuffer
(TextureDraw texd, int _a, int _b) static void
glClear
(TextureDraw texd, int _a) static void
glClearColor
(TextureDraw texd, int r, int g, int _b, int _a) static void
glClearDepth
(TextureDraw textureDraw, float float0) static void
glColorMask
(TextureDraw texd, int _a, int _b, int _c, int _d) static void
glDepthFunc
(TextureDraw textureDraw, int int0) static void
glDepthMask
(TextureDraw textureDraw, boolean _b) static void
glDisable
(TextureDraw texd, int _a) static void
glDoEndFrame
(TextureDraw texd) static void
glDoEndFrameFx
(TextureDraw texd, int player) static void
glDoStartFrame
(TextureDraw texd, int w, int h, float zoom, int player) static void
glDoStartFrame
(TextureDraw texd, int w, int h, float zoom, int player, boolean isTextFrame) static void
glDoStartFrameFlipY
(TextureDraw textureDraw, int int0, int int1, float float0, int int2) static void
glDoStartFrameFx
(TextureDraw texd, int w, int h, int player) static void
glDoStartFrameNoZoom
(TextureDraw textureDraw, int int0, int int1, float float0, int int2) static void
glEnable
(TextureDraw texd, int _a) static void
glGenerateMipMaps
(TextureDraw textureDraw, int _a) static void
glIgnoreStyles
(TextureDraw texd, boolean _b) 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 x, int y, int width, int height) static void
NewFrame
(TextureDraw textureDraw) static void
popIsoView
(TextureDraw textureDraw) void
static void
pushIsoView
(TextureDraw textureDraw, float float0, float float1, float float2, float float3, boolean boolean0) static void
releaseFBORenderChunkLock
(TextureDraw textureDraw) static void
RenderQueued
(TextureDraw textureDraw) void
reset()
void
run()
static void
ShaderUpdate1f
(TextureDraw texd, int shaderID, int uniform, float uniformValue) static void
ShaderUpdate1i
(TextureDraw texd, int shaderID, int uniform, int uniformValue) static void
ShaderUpdate2f
(TextureDraw texd, int shaderID, int uniform, float value1, float value2) static void
ShaderUpdate3f
(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3) static void
ShaderUpdate4f
(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3, float value4) static void
StartShader
(TextureDraw texd, int iD) toString()
-
Field Details
-
nextZ
public static float nextZ -
nextChunkDepth
public static float nextChunkDepth -
imDrawData
public imgui.ImDrawData imDrawData -
probe
-
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 -
z
public float z -
chunkDepth
public float chunkDepth -
tex
-
tex1
-
tex2
-
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 -
tex2_u0
public float tex2_u0 -
tex2_u1
public float tex2_u1 -
tex2_u2
public float tex2_u2 -
tex2_u3
public float tex2_u3 -
tex2_v0
public float tex2_v0 -
tex2_v1
public float tex2_v1 -
tex2_v2
public float tex2_v2 -
tex2_v3
public float tex2_v3 -
bSingleCol
public boolean bSingleCol -
flipped
public boolean flipped -
drawer
-
future
-
-
Constructor Details
-
TextureDraw
public TextureDraw()
-
-
Method Details
-
glStencilFunc
-
glBuffer
-
glStencilOp
-
glDisable
-
glClear
-
glBindFramebuffer
-
glClearDepth
-
glClearColor
-
NewFrame
-
glDepthFunc
-
glEnable
-
glAlphaFunc
-
glColorMask
-
glStencilMask
-
glBlendFunc
-
glBlendFuncSeparate
-
glBlendEquation
-
pushIsoView
public static void pushIsoView(TextureDraw textureDraw, float float0, float float1, float float2, float float3, boolean boolean0) -
popIsoView
-
glDoEndFrame
-
glDoEndFrameFx
-
glIgnoreStyles
-
glDoStartFrame
-
glDoStartFrameNoZoom
public static void glDoStartFrameNoZoom(TextureDraw textureDraw, int int0, int int1, float float0, int int2) -
glDoStartFrameFlipY
public static void glDoStartFrameFlipY(TextureDraw textureDraw, int int0, int int1, float float0, int int2) -
glDoStartFrame
public static void glDoStartFrame(TextureDraw texd, int w, int h, float zoom, int player, boolean isTextFrame) -
glDoStartFrameFx
-
glTexParameteri
-
drawModel
-
drawSkyBox
-
drawWater
public static void drawWater(TextureDraw texd, Shader shader, int userId, int apiId, boolean bShore) -
drawPuddles
-
drawParticles
-
StartShader
-
ShaderUpdate1i
-
ShaderUpdate1f
-
ShaderUpdate2f
public static void ShaderUpdate2f(TextureDraw texd, int shaderID, int uniform, float value1, float value2) -
ShaderUpdate3f
public static void ShaderUpdate3f(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3) -
ShaderUpdate4f
public static void ShaderUpdate4f(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3, float value4) -
FBORenderChunkStart
-
FBORenderChunkEnd
-
releaseFBORenderChunkLock
-
run
public void run() -
glDepthMask
-
doCoreIntParam
-
toString
-
Create
public static TextureDraw Create(TextureDraw texd, Texture _tex, float x, float y, float width, float height, float r, float g, float _b, float _a, Consumer<TextureDraw> texdModifier) -
Create
public static TextureDraw Create(TextureDraw texd, Texture _tex, SpriteRenderer.WallShaderTexRender wallSection, float x, float y, float width, float height, float r, float g, float _b, float _a, Consumer<TextureDraw> texdModifier) -
Create
public static TextureDraw Create(TextureDraw texd, Texture _tex, float x, float y, float width, float 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, Consumer<TextureDraw> texdModifier) -
Create
public static void Create(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float 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, Consumer<TextureDraw> texdModifier) -
Create
public static void Create(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, float r1, float g1, float b1, float a1) -
Create
public static void Create(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, int c1, int c2, int c3, int c4) -
Create
public static TextureDraw Create(TextureDraw texd, Texture _tex, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, float x4, float y4, int c1, int c2, int c3, int c4, Consumer<TextureDraw> texdModifier) -
Create
public static TextureDraw Create(TextureDraw texd, Texture _tex, float _x0, float _y0, float _x1, float _y1, float _x2, float _y2, float _x3, float _y3, int c0, int c1, int c2, int c3, float _u0, float _v0, float _u1, float _v1, float _u2, float _v2, float _u3, float _v3, Consumer<TextureDraw> texdModifier) -
getColor
public int getColor(int i) -
reset
public void reset() -
glLoadIdentity
-
glGenerateMipMaps
-
glBind
-
glViewport
-
DrawQueued
-
RenderQueued
-
BeginProfile
public static void BeginProfile(TextureDraw textureDraw, PerformanceProfileProbe performanceProfileProbe) -
EndProfile
public static void EndProfile(TextureDraw textureDraw, PerformanceProfileProbe performanceProfileProbe) -
postRender
public void postRender()
-