Package zombie.core.Styles
Class UIFBOStyle
java.lang.Object
zombie.core.Styles.AbstractStyle
zombie.core.Styles.UIFBOStyle
- All Implemented Interfaces:
Style
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether to actually render a sprite when using this Style.int
void
Called to set up GL rendering state before actual drawing is done.Methods inherited from class zombie.core.Styles.AbstractStyle
build, render, resetState
-
Field Details
-
instance
-
-
Constructor Details
-
UIFBOStyle
public UIFBOStyle()
-
-
Method Details
-
setupState
public void setupState()Description copied from interface:Style
Called to set up GL rendering state before actual drawing is done.- Specified by:
setupState
in interfaceStyle
- Overrides:
setupState
in classAbstractStyle
-
getAlphaOp
- Specified by:
getAlphaOp
in interfaceStyle
- Overrides:
getAlphaOp
in classAbstractStyle
- Returns:
- the style's alpha operation
-
getStyleID
public int getStyleID()- Specified by:
getStyleID
in interfaceStyle
- Overrides:
getStyleID
in classAbstractStyle
- Returns:
- the style's ID, which affects its rendering order
-
getRenderSprite
public boolean getRenderSprite()Description copied from interface:Style
Whether to actually render a sprite when using this Style.- Specified by:
getRenderSprite
in interfaceStyle
- Overrides:
getRenderSprite
in classAbstractStyle
- Returns:
- boolean
-