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
FieldsModifier and TypeFieldDescriptionprotected static final intprotected Stringprotected Color3fprotected Color3fprotected static final intprotected Fontprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intstatic final intprotected static final intFields inherited from class de.grogra.glsl.renderable.GLSLBitCache
BITMASKFields inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(OpenGLState glState, RenderState rs) intintvoidsetAlignment(int horizontalAlignment, int verticalAlignment) voidsetHorizontalAlignment(int alignment) voidsetVerticalAlignment(int alignment) protected voidupdateInstanceByInstancing(Renderable reference, GraphState gs) protected voidupdateInstanceDirect(Renderable reference) voidupdateInstanceIndirect(Object state, boolean asNode, GraphState gs) Methods inherited from class de.grogra.glsl.renderable.GLSLBitCache
getBool, setBoolMethods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstanceMethods 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
-
caption
-
-
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:
updateInstanceIndirectin classGLSLInstanceableRenderable
-
updateInstanceByInstancing
- Specified by:
updateInstanceByInstancingin classGLSLInstanceableRenderable
-
updateInstanceDirect
- Specified by:
updateInstanceDirectin classGLSLInstanceableRenderable
-
draw
- Specified by:
drawin classGLSLRenderable
-