Class TextureDraw
java.lang.Object
zombie.core.textures.TextureDraw
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionintintintfloatintintintintintfloatbooleanFuture<?> imgui.ImDrawDatastatic floatstatic floatbooleanintintintintfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatbytefloatfloatfloatfloatfloat[]floatfloatfloatfloatfloatfloatfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidBeginProfile(TextureDraw texd, PerformanceProfileProbe probe) static voidCreate(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 voidCreate(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 TextureDrawCreate(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 voidCreate(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 TextureDrawCreate(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 TextureDrawCreate(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 TextureDrawCreate(TextureDraw texd, Texture tex, float x, float y, float width, float height, float r, float g, float b, float a, Consumer<TextureDraw> texdModifier) static TextureDrawCreate(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 voiddoCoreIntParam(TextureDraw textureDraw, int id, float val) static voiddrawModel(TextureDraw texd, ModelManager.ModelSlot modelSlot) static voiddrawParticles(TextureDraw texd, int userId, int var1, int var2) static voiddrawPuddles(TextureDraw texd, int playerIndex, int z, int firstSquare, int numSquares) static voidDrawQueued(TextureDraw texd, ModelManager.ModelSlot model) static voiddrawSkyBox(TextureDraw texd, Shader shader, int userId, int apiId, int bufferId) static voiddrawWater(TextureDraw texd, Shader shader, int userId, int apiId, boolean bShore) static voidEndProfile(TextureDraw texd, PerformanceProfileProbe probe) static voidFBORenderChunkEnd(TextureDraw textureDraw) static voidFBORenderChunkStart(TextureDraw textureDraw, int index, boolean bClear) intgetColor(int i) static voidglAlphaFunc(TextureDraw texd, int a, float b) static voidglBind(TextureDraw textureDraw, int a) static voidglBindFramebuffer(TextureDraw texd, int binding, int fbo) static voidglBlendEquation(TextureDraw texd, int a) static voidglBlendFunc(TextureDraw texd, int a, int b) static voidglBlendFuncSeparate(TextureDraw texd, int a, int b, int c, int d) static voidglBuffer(TextureDraw texd, int a, int b) static voidglClear(TextureDraw texd, int a) static voidglClearColor(TextureDraw texd, int r, int g, int b, int a) static voidglClearDepth(TextureDraw texd, float d) static voidglColorMask(TextureDraw texd, int a, int b, int c, int d) static voidglDepthFunc(TextureDraw texd, int a) static voidglDepthMask(TextureDraw textureDraw, boolean b) static voidglDisable(TextureDraw texd, int a) static voidglDoEndFrame(TextureDraw texd) static voidglDoEndFrameFx(TextureDraw texd, int player) static voidglDoStartFrame(TextureDraw texd, int w, int h, float zoom, int player) static voidglDoStartFrame(TextureDraw texd, int w, int h, float zoom, int player, boolean isTextFrame) static voidglDoStartFrameFlipY(TextureDraw texd, int x, int y, float zoom, int player) static voidglDoStartFrameFx(TextureDraw texd, int w, int h, int player) static voidglDoStartFrameNoZoom(TextureDraw texd, int w, int h, float zoom, int player) static voidglEnable(TextureDraw texd, int a) static voidglGenerateMipMaps(TextureDraw textureDraw, int a) static voidglIgnoreStyles(TextureDraw texd, boolean b) 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 x, int y, int width, int height) static voidNewFrame(TextureDraw texd) static voidpopIsoView(TextureDraw texd) voidstatic voidpushIsoView(TextureDraw texd, float ox, float oy, float oz, float useangle, boolean vehicle) static voidreleaseFBORenderChunkLock(TextureDraw textureDraw) static voidRenderQueued(TextureDraw texd) voidreset()voidrun()static voidShaderUpdate1f(TextureDraw texd, int shaderID, int uniform, float uniformValue) static voidShaderUpdate1i(TextureDraw texd, int shaderID, int uniform, int uniformValue) static voidShaderUpdate2f(TextureDraw texd, int shaderID, int uniform, float value1, float value2) static voidShaderUpdate3f(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3) static voidShaderUpdate4f(TextureDraw texd, int shaderID, int uniform, float value1, float value2, float value3, float value4) static voidStartShader(TextureDraw texd, int iD) static voidStartShader(TextureDraw texd, int iD, ShaderUniformSetter uniforms) toString()
-
Field Details
-
nextZ
public static float nextZ -
nextChunkDepth
public static float nextChunkDepth -
type
-
flipped
public boolean flipped -
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 -
tex1U0
public float tex1U0 -
tex1U1
public float tex1U1 -
tex1U2
public float tex1U2 -
tex1U3
public float tex1U3 -
tex1V0
public float tex1V0 -
tex1V1
public float tex1V1 -
tex1V2
public float tex1V2 -
tex1V3
public float tex1V3 -
tex1Col0
public int tex1Col0 -
tex1Col1
public int tex1Col1 -
tex1Col2
public int tex1Col2 -
tex1Col3
public int tex1Col3 -
tex2U0
public float tex2U0 -
tex2U1
public float tex2U1 -
tex2U2
public float tex2U2 -
tex2U3
public float tex2U3 -
tex2V0
public float tex2V0 -
tex2V1
public float tex2V1 -
tex2V2
public float tex2V2 -
tex2V3
public float tex2V3 -
singleCol
public boolean singleCol -
imDrawData
public imgui.ImDrawData imDrawData -
probe
-
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 texd, float ox, float oy, float oz, float useangle, boolean vehicle) -
popIsoView
-
glDoEndFrame
-
glDoEndFrameFx
-
glIgnoreStyles
-
glDoStartFrame
-
glDoStartFrameNoZoom
-
glDoStartFrameFlipY
-
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
public static void drawPuddles(TextureDraw texd, int playerIndex, int z, int firstSquare, int numSquares) -
drawParticles
-
StartShader
-
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
-
EndProfile
-
postRender
public void postRender()
-