java.lang.Object
de.grogra.glsl.renderable.GLSLRenderable
de.grogra.glsl.renderable.GLSLInstanceableRenderable
de.grogra.glsl.renderable.GLSLBitCache
de.grogra.glsl.renderable.GLSLTextLabelBase
- Direct Known Subclasses:
GLSLNumericLabel
,GLSLTextLabel
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected String
protected Color3f
protected Color3f
protected static final int
protected Font
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
static final int
protected static final int
Fields inherited from class de.grogra.glsl.renderable.GLSLBitCache
BITMASK
Fields inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(OpenGLState glState, RenderState rs) int
int
void
setAlignment
(int horizontalAlignment, int verticalAlignment) void
setHorizontalAlignment
(int alignment) void
setVerticalAlignment
(int alignment) protected void
updateInstanceByInstancing
(Renderable reference, GraphState gs) protected void
updateInstanceDirect
(Renderable reference) void
updateInstanceIndirect
(Object state, boolean asNode, GraphState gs) Methods inherited from class de.grogra.glsl.renderable.GLSLBitCache
getBool, setBool
Methods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstance
Methods inherited from class de.grogra.glsl.renderable.GLSLRenderable
activateShader, drawAlt, findShader, getInstance, instanceFor, isShaderDependant
-
Field Details
-
TOP_MASK
protected static final int TOP_MASK- See Also:
-
BOTTOM_MASK
protected static final int BOTTOM_MASK- See Also:
-
VERTICAL_MASK
protected static final int VERTICAL_MASK- See Also:
-
LEFT_MASK
protected static final int LEFT_MASK- See Also:
-
RIGHT_MASK
protected static final int RIGHT_MASK- See Also:
-
HORIZONTAL_MASK
protected static final int HORIZONTAL_MASK- See Also:
-
OUTLINED_MASK
protected static final int OUTLINED_MASK- See Also:
-
FILLED_MASK
protected static final int FILLED_MASK- See Also:
-
USED_BITS
public static final int USED_BITS- See Also:
-
color
-
fillColor
-
font
-
-
Constructor Details
-
GLSLTextLabelBase
public GLSLTextLabelBase()
-
-
Method Details
-
setAlignment
public void setAlignment(int horizontalAlignment, int verticalAlignment) -
setHorizontalAlignment
public void setHorizontalAlignment(int alignment) -
getHorizontalAlignment
public int getHorizontalAlignment() -
setVerticalAlignment
public void setVerticalAlignment(int alignment) -
getVerticalAlignment
public int getVerticalAlignment() -
updateInstanceIndirect
- Specified by:
updateInstanceIndirect
in classGLSLInstanceableRenderable
-
updateInstanceByInstancing
- Specified by:
updateInstanceByInstancing
in classGLSLInstanceableRenderable
-
updateInstanceDirect
- Specified by:
updateInstanceDirect
in classGLSLInstanceableRenderable
-
draw
- Specified by:
draw
in classGLSLRenderable
-