Package zombie.core
Class SpriteRenderer
java.lang.Object
zombie.core.SpriteRenderer
public class SpriteRenderer
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SpriteRenderer.RenderState
static class
SpriteRenderer.RingBuffer
-
Field Summary
Fields Modifier and Type Field Description boolean
bDoAdditive
boolean
DoingRender
int
drawNumSprites
TextureDraw[]
drawsprite
Style[]
drawstyle
static boolean
GL_BLENDFUNC_ENABLED
static SpriteRenderer
instance
static int
NUM_RENDER_STATES
int
numSprites
static SpriteRenderer.RingBuffer
ringBuffer
TextureDraw[]
sprite
SpriteRenderer.RenderState
state
SpriteRenderer.RenderState[]
states
Style[]
style
-
Constructor Summary
Constructors Constructor Description SpriteRenderer()
-
Method Summary
Modifier and Type Method Description void
CheckSpriteSlots()
void
clearSprites()
void
create()
void
doAdditive(boolean boolean1)
void
drawGeneric(TextureDraw.GenericDrawer genericDrawer)
void
drawModel(ModelManager.ModelSlot modelSlot)
void
drawSkyBox(Shader shader, int int1, int int2, int int3)
void
glAlphaFunc(int int1, float float1)
void
glBind(int int1)
void
glBlendEquation(int int1)
void
glBlendFunc(int int1, int int2)
void
glBlendFuncSeparate(int int1, int int2, int int3, int int4)
void
glBuffer(int int1, int int2)
void
glClear(int int1)
void
glClearColor(int int1, int int2, int int3, int int4)
void
glColorMask(int int1, int int2, int int3, int int4)
void
glDisable(int int1)
void
glDoEndFrame()
void
glDoEndFrameFx(int int1)
void
glDoStartFrame(int int1, int int2, int int3)
void
glDoStartFrame(int int1, int int2, int int3, boolean boolean1)
void
glDoStartFrameFx(int int1, int int2, int int3)
void
glEnable(int int1)
void
glGenerateMipMaps(int int1)
void
glIgnoreStyles(boolean boolean1)
void
glLoadIdentity()
void
glStencilFunc(int int1, int int2, int int3)
void
glStencilMask(int int1)
void
glStencilOp(int int1, int int2, int int3)
void
glTexParameteri(int int1, int int2, int int3)
void
glViewport(int int1, int int2, int int3, int int4)
void
PopIso()
void
postRender()
void
preRender()
void
pushFrameDown()
void
PushIso()
void
render(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, float float1, float float2, float float3, float float4)
void
render(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, 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)
void
render(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
void
render(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)
void
render(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)
void
render(Texture texture, float float1, float float2, float float3, float float4, int int1)
void
render(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
render(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
void
render(Texture texture, int int1, int int2, int int3, int int4, int int5)
void
render(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, 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)
void
render(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10, int int11, int int12)
void
renderdebug(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, 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)
void
renderflipped(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
void
renderflipped(Texture texture, float float1, float float2, int int1, int int2, int int3)
void
renderflipped(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
renderflipped(Texture texture, int int1, int int2, int int3, int int4, int int5)
void
renderline(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
renderline(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4, int int5)
void
renderPoly(int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, float float1, float float2, float float3, float float4)
void
renderPoly(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, float float1, float float2, float float3, float float4)
void
renderRect(int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
ShaderUpdate(int int1, int int2, float float1)
void
StartShader(int int1, int int2)
void
toBodyAtlas(DeadBodyAtlas.RenderJob renderJob)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
ringBuffer
-
sprite
-
drawsprite
-
style
-
drawstyle
-
numSprites
public volatile int numSprites -
drawNumSprites
public volatile int drawNumSprites -
bDoAdditive
public boolean bDoAdditive -
GL_BLENDFUNC_ENABLED
public static boolean GL_BLENDFUNC_ENABLED -
DoingRender
public boolean DoingRender -
NUM_RENDER_STATES
public static final int NUM_RENDER_STATES- See Also:
- Constant Field Values
-
state
-
states
-
-
Constructor Details
-
SpriteRenderer
public SpriteRenderer()
-
-
Method Details
-
CheckSpriteSlots
public void CheckSpriteSlots() -
create
public void create() -
clearSprites
public void clearSprites() -
PushIso
public void PushIso() -
PopIso
public void PopIso() -
renderflipped
public void renderflipped(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4) -
renderflipped
public void renderflipped(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
renderflipped
-
renderflipped
public void renderflipped(Texture texture, float float1, float float2, int int1, int int2, int int3) -
drawModel
-
drawSkyBox
-
toBodyAtlas
-
drawGeneric
-
glDisable
public void glDisable(int int1) -
doAdditive
public void doAdditive(boolean boolean1) -
glEnable
public void glEnable(int int1) -
glStencilMask
public void glStencilMask(int int1) -
glClear
public void glClear(int int1) -
glClearColor
public void glClearColor(int int1, int int2, int int3, int int4) -
glStencilFunc
public void glStencilFunc(int int1, int int2, int int3) -
glStencilOp
public void glStencilOp(int int1, int int2, int int3) -
glColorMask
public void glColorMask(int int1, int int2, int int3, int int4) -
glAlphaFunc
public void glAlphaFunc(int int1, float float1) -
glBlendFunc
public void glBlendFunc(int int1, int int2) -
glBlendFuncSeparate
public void glBlendFuncSeparate(int int1, int int2, int int3, int int4) -
glBlendEquation
public void glBlendEquation(int int1) -
render
public void render(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, 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) -
render
public void render(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, float float1, float float2, float float3, float float4) -
render
public void render(Texture texture, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, 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) -
renderdebug
public void renderdebug(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, 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) -
render
public void render(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10, int int11, int int12) -
renderline
public void renderline(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4, int int5) -
renderline
public void renderline(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4) -
render
public void render(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) -
render
public void render(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
render
public void render(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4) -
renderRect
public void renderRect(int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4) -
renderPoly
public void renderPoly(int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, float float1, float float2, float float3, float float4) -
renderPoly
public void renderPoly(Texture texture, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8, float float1, float float2, float float3, float float4) -
render
public void render(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
render
public void render(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) -
render
-
render
public void render(Texture texture, float float1, float float2, float float3, float float4, int int1) -
preRender
public void preRender() -
postRender
public void postRender() -
glBuffer
public void glBuffer(int int1, int int2) -
glDoStartFrame
public void glDoStartFrame(int int1, int int2, int int3) -
glDoStartFrame
public void glDoStartFrame(int int1, int int2, int int3, boolean boolean1) -
glDoStartFrameFx
public void glDoStartFrameFx(int int1, int int2, int int3) -
glIgnoreStyles
public void glIgnoreStyles(boolean boolean1) -
glDoEndFrame
public void glDoEndFrame() -
glDoEndFrameFx
public void glDoEndFrameFx(int int1) -
glTexParameteri
public void glTexParameteri(int int1, int int2, int int3) -
StartShader
public void StartShader(int int1, int int2) -
ShaderUpdate
public void ShaderUpdate(int int1, int int2, float float1) -
glLoadIdentity
public void glLoadIdentity() -
glGenerateMipMaps
public void glGenerateMipMaps(int int1) -
glBind
public void glBind(int int1) -
glViewport
public void glViewport(int int1, int int2, int int3, int int4) -
pushFrameDown
public void pushFrameDown()
-