DrawOutlinesEvent

class DrawOutlinesEvent(val renderTarget: RenderTarget, val pose: PoseStack, val camera: Camera, val partialTicks: Float, val type: DrawOutlinesEvent.OutlineType) : Event

Sometimes, modules might want to contribute something to the glow framebuffer. They can hook this event in order to do so.

Note: After writing to the outline framebuffer markDirty must be called.

Constructors

Link copied to clipboard
constructor(renderTarget: RenderTarget, pose: PoseStack, camera: Camera, partialTicks: Float, type: DrawOutlinesEvent.OutlineType)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val camera: Camera
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pose: PoseStack
Link copied to clipboard
val renderTarget: RenderTarget
Link copied to clipboard

Functions

Link copied to clipboard
fun markDirty()

Called when the framebuffer was edited.