Package zombie.core.sprite
Class GenericSpriteRenderState
java.lang.Object
zombie.core.sprite.GenericSpriteRenderState
- Direct Known Subclasses:
SpriteRenderState
,SpriteRenderStateUI
public abstract class GenericSpriteRenderState
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
bCursorVisible
boolean
bRendered
AbstractStyle
defaultStyle
TextureFBO
fbo
int
index
int
numSprites
java.util.ArrayList
postRender
TextureDraw[]
sprite
Style[]
style
static byte
UVCA_CIRCLE
static byte
UVCA_NOCIRCLE
static byte
UVCA_NONE
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericSpriteRenderState(int int1)
-
Method Summary
Modifier and Type Method Description void
CheckSpriteSlots()
void
clear()
void
clearCutawayTexture()
static void
clearSprites(java.util.List list)
void
clearUseVertColorsArray()
void
doCoreIntParam(int int1, float float1)
void
drawGeneric(TextureDraw.GenericDrawer genericDrawer)
void
drawModel(ModelManager.ModelSlot modelSlot)
void
drawParticles(int int1, int int2, int int3)
void
drawPuddles(Shader shader, int int1, int int2, int int3)
void
drawSkyBox(Shader shader, int int1, int int2, int int3)
void
drawWater(Shader shader, int int1, int int2, boolean boolean1)
void
EndShader()
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
glDepthMask(boolean boolean1)
void
glDisable(int int1)
void
glDoEndFrame()
void
glDoEndFrameFx(int int1)
void
glDoStartFrame(int int1, int int2, float float1, int int3)
void
glDoStartFrame(int int1, int int2, float float1, 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)
boolean
isReady()
boolean
isRendered()
boolean
isRendering()
void
onReady()
void
onRenderAcquired()
void
onRendered()
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, java.util.function.Consumer consumer)
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, java.util.function.Consumer consumer)
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, java.util.function.Consumer consumer)
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, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer)
void
renderdebug(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, float float17, float float18, float float19, float float20, float float21, float float22, float float23, float float24, java.util.function.Consumer consumer)
void
renderflipped(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer)
void
renderline(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1)
void
renderline(Texture texture, int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
renderPoly(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
renderPoly(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)
void
renderPoly(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, float float17, float float18, float float19, float float20)
void
renderRect(int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
void
setCutawayTexture(Texture texture, int int1, int int2, int int3, int int4)
void
setExtraWallShaderParams(SpriteRenderer.WallShaderTexRender wallShaderTexRender)
void
setUseVertColorsArray(byte byte1, int int1, int int2, int int3, int int4)
void
ShaderUpdate1f(int int1, int int2, float float1)
void
ShaderUpdate1i(int int1, int int2, int int3)
void
ShaderUpdate2f(int int1, int int2, float float1, float float2)
void
ShaderUpdate3f(int int1, int int2, float float1, float float2, float float3)
void
ShaderUpdate4f(int int1, int int2, float float1, float float2, float float3, float float4)
void
StartShader(int int1, int int2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
index
public final int index -
sprite
-
style
-
numSprites
public int numSprites -
fbo
-
bRendered
public boolean bRendered -
postRender
public final java.util.ArrayList postRender -
defaultStyle
-
bCursorVisible
public boolean bCursorVisible -
UVCA_NONE
public static final byte UVCA_NONE- See Also:
- Constant Field Values
-
UVCA_CIRCLE
public static final byte UVCA_CIRCLE- See Also:
- Constant Field Values
-
UVCA_NOCIRCLE
public static final byte UVCA_NOCIRCLE- See Also:
- Constant Field Values
-
-
Constructor Details
-
GenericSpriteRenderState
protected GenericSpriteRenderState(int int1)
-
-
Method Details
-
onRendered
public void onRendered() -
onRenderAcquired
public void onRenderAcquired() -
isRendering
public boolean isRendering() -
onReady
public void onReady() -
isReady
public boolean isReady() -
isRendered
public boolean isRendered() -
CheckSpriteSlots
public void CheckSpriteSlots() -
clearSprites
public static void clearSprites(java.util.List list) -
clear
public void clear() -
glDepthMask
public void glDepthMask(boolean boolean1) -
renderflipped
public void renderflipped(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, java.util.function.Consumer consumer) -
drawSkyBox
-
drawWater
-
drawPuddles
-
drawParticles
public void drawParticles(int int1, int int2, int int3) -
glDisable
public void glDisable(int int1) -
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, double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, float float1, float float2, float float3, float float4, java.util.function.Consumer consumer) -
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, java.util.function.Consumer consumer) -
setUseVertColorsArray
public void setUseVertColorsArray(byte byte1, int int1, int int2, int int3, int int4) -
clearUseVertColorsArray
public void clearUseVertColorsArray() -
renderdebug
public void renderdebug(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, float float17, float float18, float float19, float float20, float float21, float float22, float float23, float float24, java.util.function.Consumer consumer) -
renderline
public void renderline(Texture texture, float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, int int1) -
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, java.util.function.Consumer consumer) -
renderRect
public void renderRect(int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4) -
renderPoly
public void renderPoly(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
renderPoly
public void renderPoly(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) -
renderPoly
public void renderPoly(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, float float17, float float18, float float19, float float20) -
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, java.util.function.Consumer consumer) -
glBuffer
public void glBuffer(int int1, int int2) -
glDoStartFrame
public void glDoStartFrame(int int1, int int2, float float1, int int3) -
glDoStartFrame
public void glDoStartFrame(int int1, int int2, float float1, 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) -
doCoreIntParam
public void doCoreIntParam(int int1, float float1) -
glTexParameteri
public void glTexParameteri(int int1, int int2, int int3) -
setCutawayTexture
-
clearCutawayTexture
public void clearCutawayTexture() -
setExtraWallShaderParams
-
ShaderUpdate1i
public void ShaderUpdate1i(int int1, int int2, int int3) -
ShaderUpdate1f
public void ShaderUpdate1f(int int1, int int2, float float1) -
ShaderUpdate2f
public void ShaderUpdate2f(int int1, int int2, float float1, float float2) -
ShaderUpdate3f
public void ShaderUpdate3f(int int1, int int2, float float1, float float2, float float3) -
ShaderUpdate4f
public void ShaderUpdate4f(int int1, int int2, float float1, float float2, float float3, float float4) -
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) -
drawModel
-
drawGeneric
-
StartShader
public void StartShader(int int1, int int2) -
EndShader
public void EndShader()
-