zombie.core
Class SpriteRenderer
java.lang.Object
zombie.core.SpriteRenderer
public class SpriteRenderer
- extends java.lang.Object
- Author:
- LEMMY
Method Summary |
void |
CheckSpriteSlots()
|
void |
create()
|
void |
glAlphaFunc(int a,
float b)
|
void |
glBlendFunc(int a,
float b)
|
void |
glBuffer(int i,
int p)
|
void |
glClear(int a)
|
void |
glColorMask(int a,
int b,
int c,
int d)
|
void |
glDisable(int a)
|
void |
glDoEndFrame()
|
void |
glDoStartFrame(int w,
int h)
|
void |
glEnable(int a)
|
void |
glStencilFunc(int a,
int b,
int c)
|
void |
glStencilMask(int a)
|
void |
glStencilOp(int a,
int b,
int c)
|
void |
glTexParameteri(int a,
int b,
int c)
|
void |
postRender()
|
void |
preRender()
|
void |
render(Texture tex,
float x,
float y,
float width,
float height,
float r,
float g,
float b,
float a)
|
void |
render(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)
|
void |
render(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)
|
void |
render(Texture tex,
float x,
float y,
float width,
float height,
int c)
|
void |
render(Texture tex,
int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
|
void |
render(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)
|
void |
render(Texture tex,
int x,
int y,
int width,
int height,
int c)
|
void |
render(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)
|
void |
render(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)
|
void |
renderflipped(Texture tex,
float x,
float y,
float width,
float height,
float r,
float g,
float b,
float a)
|
void |
renderflipped(Texture tex,
float x,
float y,
int width,
int height,
int c)
|
void |
renderflipped(Texture tex,
int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
|
void |
renderflipped(Texture tex,
int x,
int y,
int width,
int height,
int c)
|
void |
renderPoly(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4,
float r,
float g,
float b,
float a)
|
void |
renderRect(int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
|
void |
StartShader(int iD)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static SpriteRenderer instance
numSprites
public int numSprites
style
public Style[] style
SpriteRenderer
public SpriteRenderer()
CheckSpriteSlots
public void CheckSpriteSlots()
create
public void create()
renderflipped
public void renderflipped(Texture tex,
int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
renderflipped
public void renderflipped(Texture tex,
float x,
float y,
float width,
float height,
float r,
float g,
float b,
float a)
renderflipped
public void renderflipped(Texture tex,
int x,
int y,
int width,
int height,
int c)
renderflipped
public void renderflipped(Texture tex,
float x,
float y,
int width,
int height,
int c)
glDisable
public void glDisable(int a)
glEnable
public void glEnable(int a)
glStencilMask
public void glStencilMask(int a)
glClear
public void glClear(int a)
glStencilFunc
public void glStencilFunc(int a,
int b,
int c)
glStencilOp
public void glStencilOp(int a,
int b,
int c)
glColorMask
public void glColorMask(int a,
int b,
int c,
int d)
glAlphaFunc
public void glAlphaFunc(int a,
float b)
glBlendFunc
public void glBlendFunc(int a,
float b)
render
public void render(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)
render
public void render(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)
render
public void render(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)
render
public void render(Texture tex,
float x,
float y,
float width,
float height,
float r,
float g,
float b,
float a)
render
public void render(Texture tex,
int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
renderRect
public void renderRect(int x,
int y,
int width,
int height,
float r,
float g,
float b,
float a)
renderPoly
public void renderPoly(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4,
float r,
float g,
float b,
float a)
render
public void render(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)
render
public void render(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)
render
public void render(Texture tex,
int x,
int y,
int width,
int height,
int c)
render
public void render(Texture tex,
float x,
float y,
float width,
float height,
int c)
preRender
public void preRender()
postRender
public void postRender()
glBuffer
public void glBuffer(int i,
int p)
glDoStartFrame
public void glDoStartFrame(int w,
int h)
glDoEndFrame
public void glDoEndFrame()
glTexParameteri
public void glTexParameteri(int a,
int b,
int c)
StartShader
public void StartShader(int iD)