RoundedRectGuiElementRenderState

Rounded rectangle GUI element whose per-element parameters are passed through vertex attributes.

GUI render states are batched by pipeline and texture setup, so per-element uniforms cannot be used here.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun bounds(): @Nullable ScreenRectangle
Link copied to clipboard
open fun buildVertices(vertices: VertexConsumer)
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun pipeline(): RenderPipeline
Link copied to clipboard
abstract fun pose(): Matrix3x2f
Recyclable pose matrix.
Link copied to clipboard
open fun recycle()
Releases all resources owned by this state after the GUI frame has been rendered.
Link copied to clipboard
abstract fun scissorArea(): @Nullable ScreenRectangle
Link copied to clipboard
open fun textureSetup(): TextureSetup
Link copied to clipboard
abstract fun toString(): String