Class TextureDraw

java.lang.Object
zombie.core.textures.TextureDraw

public class TextureDraw
extends java.lang.Object
  • Field Details

    • 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
    • job

    • flipped

      public boolean flipped
    • drawer

  • 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

      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, int b)
    • glDoEndFrame

      public static void glDoEndFrame​(TextureDraw texd)
    • glDoStartFrame

      public static void glDoStartFrame​(TextureDraw texd, int w, int h, int player)
    • glDoStartFrame

      public static void glDoStartFrame​(TextureDraw texd, int w, int h, int player, boolean isTextFrame)
    • glTexParameteri

      public static void glTexParameteri​(TextureDraw texd, int a, int b, int c)
    • drawModel

      public static void drawModel​(TextureDraw texd, ModelManager.ModelSlot model)
    • toBodyAtlas

      public static void toBodyAtlas​(TextureDraw texd, DeadBodyAtlas.RenderJob job)
    • StartShader

      public static void StartShader​(TextureDraw texd, int iD)
    • ShaderUpdate

      public static void ShaderUpdate​(TextureDraw texd, int shaderID, int uniform, float uniformValue)
    • run

      public void run()
    • PopIso

      public static void PopIso​(TextureDraw textureDraw)
    • PushIso

      public static void PushIso​(TextureDraw textureDraw)
    • 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

      public static void glLoadIdentity​(TextureDraw textureDraw)
    • glGenerateMipMaps

      public static void glGenerateMipMaps​(TextureDraw textureDraw, int a)
    • glBind

      public static void glBind​(TextureDraw textureDraw, int a)
    • glViewport

      public static void glViewport​(TextureDraw textureDraw, int a, int b, int c, int d)