Index

A B C D E F G H I K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acquire(int, int, boolean) - Method in class lol.trq.helios.fbo.FramebufferPool
Borrows a framebuffer of a fixed size.
acquireScreen(int, boolean) - Method in class lol.trq.helios.fbo.FramebufferPool
Borrows a framebuffer the size of the window, or a fraction of it.
ACTIVE_TEXTURE - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The active texture unit.
ACTIVE_TEXTURE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ACTIVE_TEXTURE.
activeTexture(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
activeTexture(int) - Method in interface lol.trq.helios.gl.GlBackend
Selects the active texture unit.
activeTexture(int) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
activeTexture(int) - Method in class lol.trq.helios.state.DirectGlStateCache
 
activeTexture(int) - Method in interface lol.trq.helios.state.GlStateCache
Selects the active texture unit.
advance() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the advance record component.
alpha(int) - Static method in class lol.trq.helios.color.Colors
Returns the alpha channel.
alphaCutoff(float) - Method in class lol.trq.helios.batch.ShapeBatch
Discards fragments whose alpha is at or below a cutoff, in the fragment shader.
alphaCutoff(float) - Method in class lol.trq.helios.mesh.MeshRenderer
Sets the alpha at or below which textured fragments are discarded, so transparent texels write no depth.
ALWAYS - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ALWAYS.
AMBIENT - Static variable in class lol.trq.helios.mesh.MeshRenderer
Ambient light.
anchor(PlayerPose, Attachment, float[]) - Static method in class lol.trq.helios.model.PlayerModel
Writes an attachment's transform: model pixels relative to the anchor, to camera-relative world blocks.
Animation - Class in lol.trq.helios.anim
A timed transition between 0 and 1 that can be reversed at any moment without jumping.
Animation(long, Easing) - Constructor for class lol.trq.helios.anim.Animation
Creates an animation at rest at 0, using the system clock.
Animation(long, Easing, Clock) - Constructor for class lol.trq.helios.anim.Animation
Creates an animation at rest at 0.
apply() - Method in class lol.trq.helios.effect.PostChain
Runs the chain on the bound framebuffer.
apply(double) - Method in interface lol.trq.helios.anim.Easing
Eases a progress value.
approach(double, double, double) - Static method in class lol.trq.helios.math.Maths
Moves a value towards a target by at most a step, never past it.
arc(float, float, float, float, float, float) - Static method in class lol.trq.helios.sdf.Sdf
Distance from a point to a ring segment with butt caps, centred on the origin.
arc(float, float, float, float, float, float, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
A ring segment with butt caps.
argb(float, float, float, float) - Static method in class lol.trq.helios.color.Colors
Packs float channels.
argb(int, int, int, int) - Static method in class lol.trq.helios.color.Colors
Packs channels.
ARMOUR_OUTSET - Static variable in class lol.trq.helios.model.PlayerModel
How far armour sits out from the skin, in pixels.
ARRAY_BUFFER - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The buffer bound to GL_ARRAY_BUFFER.
ARRAY_BUFFER - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ARRAY_BUFFER.
ARRAY_BUFFER_BINDING - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ARRAY_BUFFER_BINDING.
arrayBuffer(int) - Method in class lol.trq.helios.state.StateGuard
Binds an array buffer.
ascent() - Method in class lol.trq.helios.text.MsdfFont
Distance from the baseline up to the top of the tallest glyphs, in em.
atlasHeight() - Method in class lol.trq.helios.text.MsdfFont
Atlas height in texels.
atlasPixels() - Method in class lol.trq.helios.text.MsdfFont
Returns the atlas pixels: tightly packed RGB bytes, rows top to bottom.
atlasWidth() - Method in class lol.trq.helios.text.MsdfFont
Atlas width in texels.
Attachment - Enum Class in lol.trq.helios.model
Points on the 1.8.9 player model that things attach to.
ATTRIBUTES - Static variable in class lol.trq.helios.batch.ShapeBatch
Attribute names, in the order of their layout(location) in shape.vsh.

B

back(double) - Static method in interface lol.trq.helios.anim.Easing
An overshooting ease-out.
BACK - Enum constant in enum class lol.trq.helios.model.Attachment
Top centre of the back, or of the chestplate when one is worn; tilts with the body.
BACK_DEPTH - Static variable in class lol.trq.helios.model.PlayerModel
Distance from the body pivot to the back surface, in pixels.
BACK_OUT - Static variable in interface lol.trq.helios.anim.Easing
Overshoots past 1 and settles back.
BATCH_CAPACITY - Static variable in class lol.trq.helios.Helios
Shapes per draw call in the default batch.
begin(float) - Method in class lol.trq.helios.batch.ShapeBatch
Starts a batch.
begin(GlBackend, GlStateCache) - Static method in class lol.trq.helios.state.StateGuard
Opens a guard.
between(float, float) - Method in class lol.trq.helios.anim.Animation
Interpolates between two values by Animation.value().
bindBuffer(int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bindBuffer(int, int) - Method in interface lol.trq.helios.gl.GlBackend
Binds a buffer.
bindFramebuffer(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bindFramebuffer(int) - Method in interface lol.trq.helios.gl.GlBackend
Binds a framebuffer for drawing and reading.
bindTexture(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bindTexture(int) - Method in interface lol.trq.helios.gl.GlBackend
Binds a 2D texture on the active unit.
bindTexture(int) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
bindTexture(int) - Method in class lol.trq.helios.state.DirectGlStateCache
 
bindTexture(int) - Method in interface lol.trq.helios.state.GlStateCache
Binds a 2D texture on the active unit.
bindVertexArray(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bindVertexArray(int) - Method in interface lol.trq.helios.gl.GlBackend
Binds a vertex array object.
blend(boolean) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
blend(boolean) - Method in class lol.trq.helios.state.DirectGlStateCache
 
blend(boolean) - Method in interface lol.trq.helios.state.GlStateCache
Enables or disables blending.
blend(boolean) - Method in class lol.trq.helios.state.StateGuard
Sets blending on or off.
BLEND - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_BLEND.
BLEND - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BLEND.
BLEND_DST_ALPHA - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BLEND_DST_ALPHA.
BLEND_DST_RGB - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BLEND_DST_RGB.
BLEND_FUNC - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The four separate blend factors.
BLEND_SRC_ALPHA - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BLEND_SRC_ALPHA.
BLEND_SRC_RGB - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BLEND_SRC_RGB.
blendFunc(int, int, int, int) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
blendFunc(int, int, int, int) - Method in class lol.trq.helios.state.DirectGlStateCache
 
blendFunc(int, int, int, int) - Method in interface lol.trq.helios.state.GlStateCache
Sets the separate blend factors.
blendFunc(int, int, int, int) - Method in class lol.trq.helios.state.StateGuard
Sets the separate blend factors.
blendFuncSeparate(int, int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
blendFuncSeparate(int, int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets separate RGB and alpha blend factors.
bloom(Runnable, int, float, float) - Method in class lol.trq.helios.effect.Effects
Bloom: draws the glow sources into an offscreen buffer, blurs it, and adds the result onto the bound framebuffer.
blue(int) - Static method in class lol.trq.helios.color.Colors
Returns the blue channel.
blur(int, int, int, int, float) - Method in class lol.trq.helios.effect.Passes
Blurs a texture with the dual Kawase filter: iterations halvings, then the same number of doublings.
blurBehind(float, float, float, float, float, float, int, float, int) - Method in class lol.trq.helios.effect.Effects
Blurs what is already drawn behind a rounded rectangle and draws the result inside it, the frosted glass effect.
blurSizes(int, int, int) - Static method in class lol.trq.helios.effect.Passes
The size of each level of a dual Kawase blur, level 0 being the source.
BODY - Enum constant in enum class lol.trq.helios.model.Attachment
Top centre of the torso, at the neck; tilts forward with the body when sneaking.
bodyYaw - Variable in class lol.trq.helios.model.PlayerPose
Body yaw (renderYawOffset), interpolated to the frame.
bodyYaw(PlayerPose) - Static method in class lol.trq.helios.model.PlayerModel
Returns the yaw the body is drawn at, after the riding limit.
bottom() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the bottom record component.
BOUNCE_OUT - Static variable in interface lol.trq.helios.anim.Easing
Bounces at the end like a dropped ball.
box(Object, float, double[], double[]) - Method in class lol.trq.helios.minecraft.MinecraftWorld
Returns an entity's hitbox interpolated to this frame, relative to the camera.
brightness(int) - Static method in class lol.trq.helios.color.Colors
Returns the HSB brightness.
buffer() - Method in class lol.trq.helios.gl.StreamBuffer
Returns the buffer the last upload went to.
bufferData(int, ByteBuffer, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bufferData(int, ByteBuffer, int) - Method in interface lol.trq.helios.gl.GlBackend
Uploads a buffer's whole contents, replacing its storage.
bufferStorage(int, long, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bufferStorage(int, long, int) - Method in interface lol.trq.helios.gl.GlBackend
Allocates, or orphans, a buffer's storage without data.
bufferSubData(int, long, ByteBuffer) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bufferSubData(int, long, ByteBuffer) - Method in interface lol.trq.helios.gl.GlBackend
Writes into part of a buffer.
bufferWriteUnsynchronized(int, long, ByteBuffer) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
bufferWriteUnsynchronized(int, long, ByteBuffer) - Method in interface lol.trq.helios.gl.GlBackend
Writes into part of a buffer through an unsynchronized mapping that invalidates the range: no wait on the GPU.
build() - Method in class lol.trq.helios.text.TextStyle.Builder
Builds the style.
build(MeshRenderer) - Method in class lol.trq.helios.mesh.MeshRecorder
Uploads the complete quads recorded so far.
builder(MsdfFont) - Static method in class lol.trq.helios.text.TextStyle
Starts a style.
builtinShaders() - Static method in class lol.trq.helios.Helios
Returns the resolver for the shaders inside the Helios jar.
BYTE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_BYTE.

C

camera(double[]) - Method in class lol.trq.helios.minecraft.MinecraftWorld
Returns the camera position in world coordinates.
capture(GlBackend, float) - Method in class lol.trq.helios.math.Projector
Captures the host's current model-view and projection matrices and the viewport.
captureScreen() - Method in class lol.trq.helios.effect.Passes
Copies what is drawn so far into a pooled texture the size of the window.
chestplate - Variable in class lol.trq.helios.model.PlayerPose
Whether a chestplate is worn: back attachments sit on the armour, one model pixel out.
CIRC_OUT - Static variable in interface lol.trq.helios.anim.Easing
Circular, slow end.
circle(float, float, float, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
A filled circle.
clamp(double, double, double) - Static method in class lol.trq.helios.math.Maths
Clamps a value.
clamp(float, float, float) - Static method in class lol.trq.helios.math.Maths
Clamps a value.
clampRadius(float, float, float) - Static method in class lol.trq.helios.sdf.Sdf
Clamps a corner radius so it fits the rectangle.
CLASSIC - Enum constant in enum class lol.trq.helios.text.TextStyle.Shadow
The vanilla look: a copy one size/9 down and right, in the colour darkened to a quarter.
classpath(ClassLoader, String) - Static method in interface lol.trq.helios.shader.SourceResolver
Resolves names as class path resources under a root, through a class loader.
clearColorTransparent() - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
clearColorTransparent() - Method in interface lol.trq.helios.gl.GlBackend
Clears the bound framebuffer's colour to transparent black, keeping the clear colour.
clearStencil(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
clearStencil(int) - Method in interface lol.trq.helios.gl.GlBackend
Clears the bound framebuffer's stencil, keeping the clear value.
clientPlayer - Variable in class lol.trq.helios.model.PlayerPose
Whether this is the player the client controls.
clip(Runnable, boolean, Runnable) - Method in class lol.trq.helios.state.StencilMask
Draws content clipped to a mask.
Clock - Interface in lol.trq.helios.anim
A monotonic time source in nanoseconds, so animations and timers can be driven by tests.
close() - Method in class lol.trq.helios.batch.ShapeBatch
Deletes the program, the vertex array and the buffers.
close() - Method in class lol.trq.helios.effect.Effects
Deletes the batch the effects draw through.
close() - Method in class lol.trq.helios.effect.Passes
 
close() - Method in class lol.trq.helios.fbo.FramebufferPool
Deletes every idle framebuffer and retires the lent ones, as after a resize.
close() - Method in class lol.trq.helios.gl.StreamBuffer
Deletes the buffers and fences.
close() - Method in class lol.trq.helios.Helios
Deletes every GL object this instance owns.
close() - Method in class lol.trq.helios.mesh.MeshRenderer
Deletes the programs, vertex arrays and buffers.
close() - Method in class lol.trq.helios.mesh.StaticMesh
Deletes the buffers and the vertex array.
close() - Method in class lol.trq.helios.shader.ShaderProgram
Deletes the program.
close() - Method in class lol.trq.helios.state.StateGuard
Restores every touched slot, newest first.
close() - Method in class lol.trq.helios.text.MsdfFont
Deletes the atlas texture, if uploaded.
codepoint() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the codepoint record component.
color(int) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets the colour.
COLOR - Enum constant in enum class lol.trq.helios.mesh.MeshFormat
QuadSink: position (3 floats) and colour (4 bytes); 16 bytes.
COLOR_MASK - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The colour write mask.
COLOR_WRITEMASK - Static variable in interface lol.trq.helios.gl.GlBackend
GL_COLOR_WRITEMASK.
colorMask(boolean, boolean, boolean, boolean) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
colorMask(boolean, boolean, boolean, boolean) - Method in interface lol.trq.helios.gl.GlBackend
Sets the colour write mask.
colorMask(boolean, boolean, boolean, boolean) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
colorMask(boolean, boolean, boolean, boolean) - Method in class lol.trq.helios.state.DirectGlStateCache
 
colorMask(boolean, boolean, boolean, boolean) - Method in interface lol.trq.helios.state.GlStateCache
Sets which colour channels are written.
colorMask(boolean, boolean, boolean, boolean) - Method in class lol.trq.helios.state.StateGuard
Sets which colour channels are written.
Colors - Class in lol.trq.helios.color
Packed 0xAARRGGBB colour maths.
compileShader(int, String) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
compileShader(int, String) - Method in interface lol.trq.helios.gl.GlBackend
Creates and compiles a shader.
composite(int, boolean, float, float, float, float) - Method in class lol.trq.helios.effect.Passes
Draws a texture over the whole bound framebuffer, multiplied by a tint.
CONTEXT_CORE_PROFILE_BIT - Static variable in class lol.trq.helios.gl.Gl41CoreBackend
GL_CONTEXT_CORE_PROFILE_BIT.
CONTEXT_PROFILE_MASK - Static variable in class lol.trq.helios.gl.Gl41CoreBackend
GL_CONTEXT_PROFILE_MASK.
copyToBoundTexture(int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
copyToBoundTexture(int, int) - Method in interface lol.trq.helios.gl.GlBackend
Copies the bottom-left of the read framebuffer into the bound texture.
corners(int, int, int, int) - Static method in class lol.trq.helios.batch.Paint
A different colour in each corner, blended bilinearly.
coverage(float, float) - Static method in class lol.trq.helios.sdf.Sdf
Coverage of a pixel by a shape: 1 well inside, 0 well outside, and a linear ramp across one pixel centred on the edge, so the feather is half a pixel either side.
create() - Static method in class lol.trq.helios.minecraft.MinecraftHelios
Creates a Helios instance for the running game: the OpenGL 4.1 core backend (which checks the context), the GlStateManager cache and the window's framebuffer size.
create(int, int) - Static method in class lol.trq.helios.gl.QuadIndices
Builds the indices for a number of quads.
create(GlBackend, GlStateCache, SurfaceSize) - Static method in class lol.trq.helios.Helios
Creates an instance with the built-in shaders.
create(GlBackend, GlStateCache, SurfaceSize, SourceResolver) - Static method in class lol.trq.helios.Helios
Creates an instance with a custom shader source, for example a source directory first for hot reload.
createBuffer() - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
createBuffer() - Method in interface lol.trq.helios.gl.GlBackend
Creates a buffer object.
createdCount() - Method in class lol.trq.helios.fbo.FramebufferPool
Returns how many framebuffers this pool has created in total.
createFramebuffer(int, int, boolean) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
createFramebuffer(int, int, boolean) - Method in interface lol.trq.helios.gl.GlBackend
Creates a framebuffer with an RGBA8 colour texture and optionally a depth-stencil renderbuffer.
createRgbTexture(int, int, ByteBuffer) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
createRgbTexture(int, int, ByteBuffer) - Method in interface lol.trq.helios.gl.GlBackend
Creates a linear-filtered RGB8 texture.
createVertexArray() - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
createVertexArray() - Method in interface lol.trq.helios.gl.GlBackend
Creates a vertex array object.
createWithHotReload(GlBackend, GlStateCache, SurfaceSize, Path) - Static method in class lol.trq.helios.Helios
Creates an instance that loads shaders from a source directory first and reloads them when they change.
CUBIC_IN - Static variable in interface lol.trq.helios.anim.Easing
Cubic, slow start.
CUBIC_IN_OUT - Static variable in interface lol.trq.helios.anim.Easing
Cubic, slow start and end.
CUBIC_OUT - Static variable in interface lol.trq.helios.anim.Easing
Cubic, slow end.
cull(boolean) - Method in class lol.trq.helios.mesh.MeshRenderer
Sets back-face culling for what follows.
cull(boolean) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
cull(boolean) - Method in class lol.trq.helios.state.DirectGlStateCache
 
cull(boolean) - Method in interface lol.trq.helios.state.GlStateCache
Enables or disables face culling.
cull(boolean) - Method in class lol.trq.helios.state.StateGuard
Sets face culling on or off.
CULL - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_CULL_FACE.
CULL_FACE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_CULL_FACE.
CURRENT_PROGRAM - Static variable in interface lol.trq.helios.gl.GlBackend
GL_CURRENT_PROGRAM.

D

DEFAULT_FONT - Static variable in class lol.trq.helios.Helios
Class path location of the bundled font, Inter Regular (SIL Open Font License 1.1).
defaultFont() - Method in class lol.trq.helios.Helios
Returns the bundled font, Inter Regular, loading it on first use.
deleteBuffer(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteBuffer(int) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a buffer object.
deleteFence(long) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteFence(long) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a fence.
deleteFramebuffer(int[]) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteFramebuffer(int[]) - Method in interface lol.trq.helios.gl.GlBackend
deleteProgram(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteProgram(int) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a program.
deleteShader(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteShader(int) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a shader.
deleteTexture(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteTexture(int) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a texture.
deleteVertexArray(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
deleteVertexArray(int) - Method in interface lol.trq.helios.gl.GlBackend
Deletes a vertex array object.
depth() - Method in class lol.trq.helios.state.ScissorStack
Returns how many clips are pushed.
depth(boolean, boolean) - Method in class lol.trq.helios.mesh.MeshRenderer
Sets depth testing and writing for what follows.
DEPTH_MASK - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The depth write mask.
DEPTH_TEST - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_DEPTH_TEST.
DEPTH_TEST - Static variable in interface lol.trq.helios.gl.GlBackend
GL_DEPTH_TEST.
DEPTH_WRITEMASK - Static variable in interface lol.trq.helios.gl.GlBackend
GL_DEPTH_WRITEMASK.
depthMask(boolean) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
depthMask(boolean) - Method in interface lol.trq.helios.gl.GlBackend
Turns depth writes on or off.
depthMask(boolean) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
depthMask(boolean) - Method in class lol.trq.helios.state.DirectGlStateCache
 
depthMask(boolean) - Method in interface lol.trq.helios.state.GlStateCache
Sets the depth write mask.
depthMask(boolean) - Method in class lol.trq.helios.state.StateGuard
Sets the depth write mask.
depthStencil() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the depthStencil record component.
depthTest(boolean) - Method in class lol.trq.helios.minecraft.MinecraftGlStateCache
 
depthTest(boolean) - Method in class lol.trq.helios.state.DirectGlStateCache
 
depthTest(boolean) - Method in interface lol.trq.helios.state.GlStateCache
Enables or disables the depth test.
depthTest(boolean) - Method in class lol.trq.helios.state.StateGuard
Sets the depth test on or off.
descent() - Method in class lol.trq.helios.text.MsdfFont
Distance from the baseline down to the bottom of descenders, in em.
describe(String) - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Rewrites a driver info log so source-string numbers become file names.
describe(String, List) - Static method in class lol.trq.helios.shader.ShaderLog
Rewrites a log.
DIFFUSE - Static variable in class lol.trq.helios.mesh.MeshRenderer
Diffuse strength of each light.
DirectGlStateCache - Class in lol.trq.helios.state
A GlStateCache for hosts that cache nothing: every call goes straight to the backend.
DirectGlStateCache(GlBackend) - Constructor for class lol.trq.helios.state.DirectGlStateCache
Creates the cache.
directory(Path) - Static method in interface lol.trq.helios.shader.SourceResolver
Resolves names as files under a directory, which is what hot reload during development uses.
done() - Method in class lol.trq.helios.anim.Animation
Returns whether the animation has reached the end it is heading to.
draw(ShapeBatch, CharSequence, float, float, TextStyle) - Method in class lol.trq.helios.text.TextRenderer
Draws a line of text into a batch that has begun.
draw(StaticMesh, float[]) - Method in class lol.trq.helios.mesh.MeshRenderer
Draws a recorded mesh, after flushing what was written so far.
drawArrays(int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
drawArrays(int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Draws non-indexed primitives from the bound vertex array.
drawCalls() - Method in class lol.trq.helios.batch.ShapeBatch
Returns how many draw calls this batch has issued, for tests and profiling.
drawCalls() - Method in class lol.trq.helios.mesh.MeshRenderer
Returns how many draw calls this renderer has issued, for tests and profiling.
drawElements(int, int, int, long, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
drawElements(int, int, int, long, int) - Method in interface lol.trq.helios.gl.GlBackend
Draws indexed primitives from the bound vertex array, adding a base to every index.
drawing() - Method in class lol.trq.helios.batch.ShapeBatch
Returns whether the batch is between ShapeBatch.begin(float) and ShapeBatch.end().
duration(long) - Method in class lol.trq.helios.anim.Animation
Changes the duration of a full run, keeping the current position.

E

Easing - Interface in lol.trq.helios.anim
An easing curve: maps linear progress t in [0, 1] to eased progress, 0 at 0 and 1 at 1.
effects() - Method in class lol.trq.helios.Helios
Returns the screen effects: blur behind a shape, bloom.
Effects - Class in lol.trq.helios.effect
Screen effects: background blur behind a shape, and bloom.
Effects(GlBackend, GlStateCache, Passes, ShapeBatch) - Constructor for class lol.trq.helios.effect.Effects
Creates the effects.
elapsed(long) - Method in class lol.trq.helios.anim.Stopwatch
Returns whether at least some time has passed.
elapsedAndReset(long) - Method in class lol.trq.helios.anim.Stopwatch
Returns whether some time has passed and, if so, resets: a cooldown in one call.
ELASTIC_OUT - Static variable in interface lol.trq.helios.anim.Easing
A springy overshoot that oscillates into place.
ELEMENT_ARRAY_BUFFER - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ELEMENT_ARRAY_BUFFER.
emSize() - Method in class lol.trq.helios.text.MsdfFont
Texels per em in the atlas.
enableStencil() - Static method in class lol.trq.helios.minecraft.MinecraftHelios
Gives the main Minecraft framebuffer a stencil buffer, through Forge's Framebuffer.enableStencil().
enableVertexAttrib(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
enableVertexAttrib(int) - Method in interface lol.trq.helios.gl.GlBackend
Enables a vertex attribute in the bound vertex array.
end() - Method in class lol.trq.helios.batch.ShapeBatch
Draws everything added since ShapeBatch.begin(float).
endFrame() - Method in class lol.trq.helios.batch.ShapeBatch
Marks the end of a frame for the streamed vertex buffers.
endFrame() - Method in class lol.trq.helios.gl.StreamBuffer
Fences this frame's buffer and moves to the next, waiting until the GPU has finished with it.
endFrame() - Method in class lol.trq.helios.mesh.MeshRenderer
Marks the end of a frame for the streamed vertex buffers.
EQUAL - Static variable in interface lol.trq.helios.gl.GlBackend
GL_EQUAL.
equals(Object) - Method in record class lol.trq.helios.fbo.Framebuffer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class lol.trq.helios.shader.ShaderHotReload.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Indicates whether some other object is "equal to" this one.
EXPO_OUT - Static variable in interface lol.trq.helios.anim.Easing
Exponential, slow end.

F

failures() - Method in record class lol.trq.helios.shader.ShaderHotReload.Result
Returns the value of the failures record component.
fastRender() - Method in class lol.trq.helios.minecraft.MinecraftOptiFine
Returns whether Fast Render is on.
fastRender(boolean) - Method in class lol.trq.helios.minecraft.MinecraftOptiFine
Sets Fast Render for this session; OptiFine saves it with its options.
fence() - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
fence() - Method in interface lol.trq.helios.gl.GlBackend
Inserts a fence after the commands issued so far.
files() - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Returns the value of the files record component.
FLOAT - Static variable in interface lol.trq.helios.gl.GlBackend
GL_FLOAT.
flush() - Method in class lol.trq.helios.mesh.MeshRenderer
Draws everything written so far.
font() - Method in class lol.trq.helios.text.TextStyle
Returns the font.
format() - Method in class lol.trq.helios.mesh.StaticMesh
Returns the vertex format.
format(int) - Static method in class lol.trq.helios.color.Colors
Formats a colour as #AARRGGBB, or #RRGGBB when opaque.
formatting(boolean) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets whether ยง codes change colour and format, or are drawn as text.
forward() - Method in class lol.trq.helios.anim.Animation
Returns the direction.
forward(boolean) - Method in class lol.trq.helios.anim.Animation
Sets the direction: towards 1 when true, towards 0 when false.
FRAGMENT_SHADER - Static variable in interface lol.trq.helios.gl.GlBackend
GL_FRAGMENT_SHADER.
framebuffer(int) - Method in class lol.trq.helios.state.StateGuard
Binds a framebuffer.
Framebuffer - Record Class in lol.trq.helios.fbo
An offscreen framebuffer with an RGBA8 colour texture and an optional depth-stencil buffer, lent out by a FramebufferPool.
Framebuffer(int, int, int, int, boolean, int[]) - Constructor for record class lol.trq.helios.fbo.Framebuffer
Creates an instance of a Framebuffer record class.
FRAMEBUFFER - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The framebuffer bound to GL_FRAMEBUFFER.
FRAMEBUFFER_BINDING - Static variable in interface lol.trq.helios.gl.GlBackend
GL_FRAMEBUFFER_BINDING.
FramebufferPool - Class in lol.trq.helios.fbo
Reuses offscreen framebuffers across frames.
FramebufferPool(GlBackend, SurfaceSize) - Constructor for class lol.trq.helios.fbo.FramebufferPool
Creates a pool.
framebuffers() - Method in class lol.trq.helios.Helios
Returns the framebuffer pool.
FULLSCREEN_VERTEX - Static variable in class lol.trq.helios.effect.Passes
The vertex shader for custom full-screen passes; it provides varying vec2 v_uv.

G

gaussian(double, double) - Static method in class lol.trq.helios.math.Maths
The normal distribution's density.
gaussianKernel(double, float[]) - Static method in class lol.trq.helios.math.Maths
Fills normalized one-sided Gaussian weights for a separable blur: out[0] is the centre tap, and the centre plus twice the rest sums to 1.
getInteger(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
getInteger(int) - Method in interface lol.trq.helios.gl.GlBackend
Reads one integer state value.
getIntegers(int, int[]) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
getIntegers(int, int[]) - Method in interface lol.trq.helios.gl.GlBackend
Reads an integer state vector.
gl() - Method in class lol.trq.helios.Helios
Returns the backend.
Gl41CoreBackend - Class in lol.trq.helios.gl
The backend on an OpenGL 4.1 core profile context, as Lazarus creates with -Dlazarus.gl=core.
Gl41CoreBackend() - Constructor for class lol.trq.helios.gl.Gl41CoreBackend
Checks the context and binds to the emulated matrix stacks.
GlBackend - Interface in lol.trq.helios.gl
The OpenGL calls Helios makes, behind one seam.
glow(float, float) - Static method in class lol.trq.helios.sdf.Sdf
Inner glow: 1 at the edge, fading to 0 at width inside it.
GLSL_VERSION - Static variable in class lol.trq.helios.Helios
The one GLSL version every shader uses: GLSL 4.10 core, for the OpenGL 4.1 core profile.
GlStateCache - Interface in lol.trq.helios.state
The state a host caches on the CPU side, such as Minecraft's GlStateManager.
glyph(int) - Method in class lol.trq.helios.text.MsdfFont
Returns a glyph, or the replacement glyph when the font lacks it.
glyph(int, float, float, float, float, float, float, float, float, float, float, int, float, float, float, int, int) - Method in class lol.trq.helios.batch.ShapeBatch
One glyph from a multi-channel signed distance field atlas.
Glyph(int, float, float, float, float, float, float, float, float, float) - Constructor for record class lol.trq.helios.text.MsdfFont.Glyph
Creates an instance of a Glyph record class.
glyphOrNull(int) - Method in class lol.trq.helios.text.MsdfFont
Returns a glyph without falling back.
green(int) - Static method in class lol.trq.helios.color.Colors
Returns the green channel.
guard() - Method in class lol.trq.helios.Helios
Opens a state guard bound to this instance's backend and cache.

H

hashCode() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns a hash code value for this object.
hashCode() - Method in record class lol.trq.helios.shader.ShaderHotReload.Result
Returns a hash code value for this object.
hashCode() - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Returns a hash code value for this object.
hashCode() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns a hash code value for this object.
HEAD - Enum constant in enum class lol.trq.helios.model.Attachment
Top centre of the head, or of the helmet when one is worn; turns with the head.
HEAD_HEIGHT - Static variable in class lol.trq.helios.model.PlayerModel
Height of the head, in pixels.
headYaw - Variable in class lol.trq.helios.model.PlayerPose
Head yaw (rotationYawHead), interpolated to the frame.
height() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the height record component.
height() - Method in interface lol.trq.helios.fbo.SurfaceSize
Returns the framebuffer height.
Helios - Class in lol.trq.helios
One Helios instance per GL context: the backend, the host's state cache, shaders, the framebuffer pool and the renderers.
helmet - Variable in class lol.trq.helios.model.PlayerPose
Whether a helmet is worn: head attachments sit on the armour, one model pixel out.
horizontal(int, int) - Static method in class lol.trq.helios.batch.Paint
Left to right.
hsb(float, float, float, float) - Static method in class lol.trq.helios.color.Colors
Builds a colour from hue, saturation and brightness.
hsl(float, float, float, float) - Static method in class lol.trq.helios.color.Colors
Builds a colour from hue, saturation and lightness.
hue(int) - Static method in class lol.trq.helios.color.Colors
Returns the hue.

I

id() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the id record component.
id() - Method in class lol.trq.helios.shader.ShaderProgram
Returns the GL program id.
identity(float[]) - Static method in class lol.trq.helios.math.Mat4
Sets the identity.
idleCount() - Method in class lol.trq.helios.fbo.FramebufferPool
Returns how many framebuffers sit idle.
ids() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the ids record component.
image(int, float, float, float, float, float, float, float, float, float, int) - Method in class lol.trq.helios.batch.ShapeBatch
A textured rounded rectangle, multiplied by a tint.
innerGlow(float, float, float, float, float, float, int) - Method in class lol.trq.helios.batch.ShapeBatch
A glow inside the edge of a rounded rectangle, strongest at the edge.
interpolateAngle(float, float, float) - Static method in class lol.trq.helios.model.PlayerModel
Interpolates between two angles the short way round, as RendererLivingEntity.interpolateRotation.
inverseLerp(double, double, double) - Static method in class lol.trq.helios.math.Maths
The position of a value between two others.
invert(float[], float[]) - Static method in class lol.trq.helios.math.Mat4
Inverts a matrix.
invert(int) - Static method in class lol.trq.helios.color.Colors
Inverts the RGB channels, keeping alpha.
isEnabled(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
isEnabled(int) - Method in interface lol.trq.helios.gl.GlBackend
Returns whether a capability is on.

K

KEEP - Static variable in interface lol.trq.helios.gl.GlBackend
GL_KEEP.
kerning(int, int) - Method in class lol.trq.helios.text.MsdfFont
Returns the kerning between two characters.

L

left() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the left record component.
lentCount() - Method in class lol.trq.helios.fbo.FramebufferPool
Returns how many framebuffers are lent out.
lerp(double, double, double) - Static method in class lol.trq.helios.math.Maths
Linear interpolation, not clamped.
lerp(float, float, float) - Static method in class lol.trq.helios.math.Maths
Linear interpolation, not clamped.
lerp(int, int, float) - Static method in class lol.trq.helios.batch.Paint
Mixes two packed colours per channel.
lerp(int, int, float) - Static method in class lol.trq.helios.color.Colors
Mixes two colours per channel, alpha included, in sRGB.
lerpDegrees(double, double, double) - Static method in class lol.trq.helios.math.Maths
Interpolates angles the short way round.
lerpHsb(int, int, float) - Static method in class lol.trq.helios.color.Colors
Mixes two colours through HSB, taking the shorter way round the hue circle, so a red to blue blend passes through magenta rather than grey.
lerpLinear(int, int, float) - Static method in class lol.trq.helios.color.Colors
Mixes two colours in linear light, which keeps the midpoint of a red to green blend from going muddy.
letterSpacing(float) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets extra space after every character.
LIGHT0 - Static variable in class lol.trq.helios.mesh.MeshRenderer
First light direction of Minecraft 1.8.9's entity lighting, in world space, normalized.
LIGHT1 - Static variable in class lol.trq.helios.mesh.MeshRenderer
Second light direction of Minecraft 1.8.9's entity lighting, in world space, normalized.
lighting(boolean) - Method in class lol.trq.helios.mesh.MeshRenderer
Turns Minecraft 1.8.9 entity lighting on or off for the textured quads that follow: each fragment's colour is multiplied by min(1, AMBIENT + DIFFUSE * (max(0, nยทLIGHT0) + max(0, nยทLIGHT1))).
lightness(int) - Static method in class lol.trq.helios.color.Colors
Returns the HSL lightness.
line(float, float, float, float, float, boolean, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
A straight line.
line(float, float, float, float, float, float, int, float) - Method in interface lol.trq.helios.mesh.LineSink
Writes one segment.
LINE - Enum constant in enum class lol.trq.helios.mesh.MeshFormat
LineSink: both end points (6 floats), the corner (along, side), the width and the colour; 40 bytes.
linear(float, int, int) - Static method in class lol.trq.helios.batch.Paint
A linear gradient across the box at an angle; 0 degrees runs left to right, 90 top to bottom.
LINEAR - Static variable in interface lol.trq.helios.anim.Easing
No easing.
lineHeight() - Method in class lol.trq.helios.text.MsdfFont
Distance from one baseline to the next, in em.
lineHeight() - Method in class lol.trq.helios.text.TextStyle
Returns the distance from one baseline to the next in drawing units.
lines() - Method in class lol.trq.helios.mesh.MeshRecorder
Returns the sink for a MeshFormat.LINE recorder.
lines() - Method in class lol.trq.helios.mesh.MeshRenderer
Returns the sink for anti-aliased lines.
LineSink - Interface in lol.trq.helios.mesh
Takes line segments.
linkProgram(int...) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
linkProgram(int...) - Method in interface lol.trq.helios.gl.GlBackend
Links a program from compiled shaders.
load(String, String, Map) - Method in class lol.trq.helios.shader.ShaderLoader
Loads a program.
location(String) - Method in class lol.trq.helios.shader.ShaderProgram
Returns a uniform location, from the cache after the first lookup.
lol.trq.helios - package lol.trq.helios
 
lol.trq.helios.anim - package lol.trq.helios.anim
 
lol.trq.helios.batch - package lol.trq.helios.batch
 
lol.trq.helios.color - package lol.trq.helios.color
 
lol.trq.helios.effect - package lol.trq.helios.effect
 
lol.trq.helios.fbo - package lol.trq.helios.fbo
 
lol.trq.helios.gl - package lol.trq.helios.gl
 
lol.trq.helios.math - package lol.trq.helios.math
 
lol.trq.helios.mesh - package lol.trq.helios.mesh
 
lol.trq.helios.minecraft - package lol.trq.helios.minecraft
 
lol.trq.helios.model - package lol.trq.helios.model
 
lol.trq.helios.sdf - package lol.trq.helios.sdf
 
lol.trq.helios.shader - package lol.trq.helios.shader
 
lol.trq.helios.state - package lol.trq.helios.state
 
lol.trq.helios.text - package lol.trq.helios.text
 
luminance(int) - Static method in class lol.trq.helios.color.Colors
Returns the relative luminance (Rec.

M

Mat4 - Class in lol.trq.helios.math
4x4 matrix operations on float[16] arrays in OpenGL's column-major order: element (row r, column c) is at m[c * 4 + r].
Maths - Class in lol.trq.helios.math
Small numeric helpers used across rendering and animation.
matrices(float[], float[]) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
matrices(float[], float[]) - Method in interface lol.trq.helios.gl.GlBackend
Reads the host's current model-view and projection matrices, column-major.
meshes() - Method in class lol.trq.helios.Helios
Returns the 3D mesh renderer: coloured quads, anti-aliased lines and textured, lit quads.
MeshFormat - Enum Class in lol.trq.helios.mesh
The vertex layouts behind the sinks, one per sink type, each with its own shader.
MeshRecorder - Class in lol.trq.helios.mesh
Records vertices of one format through the matching sink, to upload once as a StaticMesh.
MeshRecorder(MeshFormat) - Constructor for class lol.trq.helios.mesh.MeshRecorder
Creates an empty recorder.
MeshRenderer - Class in lol.trq.helios.mesh
Draws 3D meshes written through the sinks: MeshRenderer.quads(), MeshRenderer.lines() and MeshRenderer.textured().
MeshRenderer(GlBackend, GlStateCache, ShaderLoader, int) - Constructor for class lol.trq.helios.mesh.MeshRenderer
Creates a renderer.
MeshSink - Interface in lol.trq.helios.mesh
What every vertex sink shares: a transform applied on the CPU to everything written after it.
millis() - Method in class lol.trq.helios.anim.Stopwatch
Returns the elapsed time.
MinecraftGlStateCache - Class in lol.trq.helios.minecraft
Routes cached state changes through Minecraft 1.8.9's GlStateManager, so its cache, and OptiFine's additions to it, stay true.
MinecraftGlStateCache(ClassLoader) - Constructor for class lol.trq.helios.minecraft.MinecraftGlStateCache
Resolves GlStateManager.
MinecraftHelios - Class in lol.trq.helios.minecraft
The Minecraft 1.8.9 hook: every reference to Minecraft's own classes lives in this package, reached by reflection, so the rest of Helios compiles and tests without the game.
MinecraftOptiFine - Class in lol.trq.helios.minecraft
OptiFine, when it is installed, by reflection: whether it is present, its version, and its Fast Render option.
MinecraftOptiFine(ClassLoader) - Constructor for class lol.trq.helios.minecraft.MinecraftOptiFine
Looks OptiFine up once.
MinecraftPlayerPose - Class in lol.trq.helios.minecraft
Fills a PlayerPose from a live player, interpolated to the frame the way the player renderer does it.
MinecraftPlayerPose(ClassLoader, MinecraftWorld) - Constructor for class lol.trq.helios.minecraft.MinecraftPlayerPose
Resolves everything up front.
MinecraftWorld - Class in lol.trq.helios.minecraft
World-space helpers for overlays such as ESP boxes and nametags: the render partial tick, the camera position, and entity positions and boxes interpolated between ticks, relative to the camera (the space Minecraft's world matrices use).
MinecraftWorld(ClassLoader) - Constructor for class lol.trq.helios.minecraft.MinecraftWorld
Resolves everything up front.
MODEL_OFFSET - Static variable in class lol.trq.helios.model.PlayerModel
The living renderer's vertical model offset, in model units.
MOUNT_LIMIT - Static variable in class lol.trq.helios.model.PlayerModel
The furthest the body turns from a ridden mount, in degrees.
mountYaw - Variable in class lol.trq.helios.model.PlayerPose
Body yaw of the living entity being ridden, interpolated to the frame, or NaN when not riding one.
MsdfFont - Class in lol.trq.helios.text
A multi-channel signed distance field font: glyph metrics, kerning and an RGB atlas, read from an .hfnt file that the fontgen module writes.
MsdfFont.Glyph - Record Class in lol.trq.helios.text
One glyph.
multiply(float[], float[], float[]) - Static method in class lol.trq.helios.math.Mat4
Multiplies a * b: applying the result is applying b first, then a.
multiplyAlpha(int, float) - Static method in class lol.trq.helios.color.Colors
Scales the alpha channel, for fading something that already has an alpha.

N

name() - Method in class lol.trq.helios.shader.ShaderProgram
Returns the name this program was loaded under.
name() - Method in class lol.trq.helios.text.MsdfFont
Returns the font name.
nanos() - Method in interface lol.trq.helios.anim.Clock
Returns the current time.
nanos() - Method in class lol.trq.helios.anim.Stopwatch
Returns the elapsed time.
netHeadYaw(PlayerPose) - Static method in class lol.trq.helios.model.PlayerModel
Returns the head yaw relative to the body, as the model receives it.
NONE - Enum constant in enum class lol.trq.helios.text.TextStyle.Shadow
No shadow.
NOTEQUAL - Static variable in interface lol.trq.helios.gl.GlBackend
GL_NOTEQUAL.

O

ONE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ONE.
ONE_MINUS_SRC_ALPHA - Static variable in interface lol.trq.helios.gl.GlBackend
GL_ONE_MINUS_SRC_ALPHA.
or(SourceResolver) - Method in interface lol.trq.helios.shader.SourceResolver
Tries this resolver, then another.
orphans() - Method in class lol.trq.helios.gl.StreamBuffer
Returns how often a frame outgrew its buffer and orphaned it.
ortho(float, float, float, float, float, float, float[]) - Static method in class lol.trq.helios.math.Mat4
An orthographic projection, as glOrtho.
outline(float, float, float, float, float, float, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
The outline of a rounded rectangle, drawn inside its edge.

P

Paint - Class in lol.trq.helios.batch
How a shape is coloured: one colour, a gradient across its box, or a radial gradient from its centre.
PALETTE - Static variable in class lol.trq.helios.text.TextRenderer
The 16 colours of the ยง0-ยงf codes.
parse(String) - Static method in class lol.trq.helios.color.Colors
Parses #RGB, #RRGGBB or #AARRGGBB, with or without the #.
partialTicks() - Method in class lol.trq.helios.minecraft.MinecraftWorld
Returns how far the current frame is between the last tick and the next.
passes() - Method in class lol.trq.helios.Helios
Returns the full-screen passes: screen capture, blur, compositing, custom passes.
Passes - Class in lol.trq.helios.effect
Full-screen passes shared by the effects: screen capture, the dual Kawase blur, and compositing a texture onto the bound framebuffer.
Passes(GlBackend, GlStateCache, FramebufferPool, ShaderLoader) - Constructor for class lol.trq.helios.effect.Passes
Creates the passes and compiles their programs.
perspective(float, float, float, float, float[]) - Static method in class lol.trq.helios.math.Mat4
A perspective projection, as gluPerspective.
pingPong(long, long, float, int, int) - Static method in class lol.trq.helios.color.Colors
A colour sweeping from one colour to another and back over time.
pitch - Variable in class lol.trq.helios.model.PlayerPose
Head pitch (rotationPitch), interpolated to the frame.
pixel() - Method in class lol.trq.helios.batch.ShapeBatch
Returns the pixel size given to ShapeBatch.begin(float).
PIXEL - Static variable in class lol.trq.helios.model.PlayerModel
Model units per pixel.
PlayerModel - Class in lol.trq.helios.model
The transforms Minecraft 1.8.9 renders a player with, as plain matrix math: the same chain as RenderPlayer, RendererLivingEntity, ModelPlayer and ModelBiped, so something drawn at an Attachment follows the model exactly.
PlayerPose - Class in lol.trq.helios.model
What a player model's attachment points depend on, for one frame: position, the body and head angles interpolated to the frame, and the states that move parts of the 1.8.9 model.
PlayerPose() - Constructor for class lol.trq.helios.model.PlayerPose
 
poll() - Method in class lol.trq.helios.shader.ShaderHotReload
Reloads if a source file changed since the last poll.
polyline(float[], float, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
Connected lines with round joins and caps.
pool() - Method in class lol.trq.helios.effect.Passes
Returns the framebuffer pool.
pop() - Method in class lol.trq.helios.state.ScissorStack
Returns to the previous clip, or to the state before the first push.
position(Object, float, double[], double[]) - Method in class lol.trq.helios.minecraft.MinecraftWorld
Returns an entity's position interpolated to this frame, relative to the camera.
postChain() - Method in class lol.trq.helios.Helios
Starts a new post-processing chain.
PostChain - Class in lol.trq.helios.effect
A chain of full-screen passes applied to what is drawn so far: the screen is captured, each pass reads the previous result and writes a new one, and the last result replaces the screen.
PostChain(Passes) - Constructor for class lol.trq.helios.effect.PostChain
Creates an empty chain.
Preprocessed(String, List) - Constructor for record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Creates an instance of a Preprocessed record class.
present() - Method in class lol.trq.helios.minecraft.MinecraftOptiFine
Returns whether OptiFine is installed.
process(String, Map) - Method in class lol.trq.helios.shader.ShaderPreprocessor
Expands a shader.
program(int) - Method in class lol.trq.helios.state.StateGuard
Uses a program.
PROGRAM - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The program in use.
programLinked(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
programLinked(int) - Method in interface lol.trq.helios.gl.GlBackend
Returns whether a program linked.
programLog(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
programLog(int) - Method in interface lol.trq.helios.gl.GlBackend
Returns a program's info log.
progress() - Method in class lol.trq.helios.anim.Animation
Returns the linear progress.
project(double, double, double, float[]) - Method in class lol.trq.helios.math.Projector
Projects a point.
projectBox(double, double, double, double, double, double, float[]) - Method in class lol.trq.helios.math.Projector
Projects an axis-aligned box and returns its screen bounds: the 2D box for ESP.
Projector - Class in lol.trq.helios.math
Projects 3D points to screen coordinates, as gluProject does, without allocating.
Projector() - Constructor for class lol.trq.helios.math.Projector
Creates a projector with identity matrices and an empty viewport.
push(float, float, float, float, float) - Method in class lol.trq.helios.state.ScissorStack
Clips further drawing to a rectangle, inside the current clip.
pxRange() - Method in class lol.trq.helios.text.MsdfFont
The distance range of the atlas in texels.

Q

QUAD_IN - Static variable in interface lol.trq.helios.anim.Easing
Quadratic, slow start.
QUAD_IN_OUT - Static variable in interface lol.trq.helios.anim.Easing
Quadratic, slow start and end.
QUAD_OUT - Static variable in interface lol.trq.helios.anim.Easing
Quadratic, slow end; the classic decelerate.
quadCount() - Method in class lol.trq.helios.mesh.MeshRecorder
Returns the number of complete quads recorded; a line counts as one.
QuadIndices - Class in lol.trq.helios.gl
Index data that draws quads of four vertices as two triangles each, 0-1-2 and 2-3-0.
quads() - Method in class lol.trq.helios.mesh.MeshRecorder
Returns the sink for a MeshFormat.COLOR recorder.
quads() - Method in class lol.trq.helios.mesh.MeshRenderer
Returns the sink for flat-coloured quads.
quads() - Method in class lol.trq.helios.mesh.StaticMesh
Returns the number of quads; a line counts as one.
QuadSink - Interface in lol.trq.helios.mesh
Takes flat-coloured quads: four vertices per quad, in order around it.
QUINT_OUT - Static variable in interface lol.trq.helios.anim.Easing
Quintic, slow end; a long soft landing.

R

radial(int, int, float) - Static method in class lol.trq.helios.batch.Paint
A radial gradient from the centre of the shape.
rainbow(long, long, float, float, float, float) - Static method in class lol.trq.helios.color.Colors
A colour cycling through the hue circle over time.
random(double, double) - Static method in class lol.trq.helios.math.Maths
A uniformly random value, from a thread-local generator.
random(int, int) - Static method in class lol.trq.helios.math.Maths
A uniformly random int, from a thread-local generator.
read(InputStream) - Static method in class lol.trq.helios.text.MsdfFont
Reads a font.
read(Object, float, double[], PlayerPose) - Method in class lol.trq.helios.minecraft.MinecraftPlayerPose
Reads a player's pose for this frame.
readableOn(int) - Static method in class lol.trq.helios.color.Colors
Picks black or white text for a background, whichever contrasts more.
rect(float, float, float, float, float, int) - Method in class lol.trq.helios.batch.ShapeBatch
A filled rounded rectangle in one colour.
rect(float, float, float, float, float, Paint) - Method in class lol.trq.helios.batch.ShapeBatch
A filled rounded rectangle.
red(int) - Static method in class lol.trq.helios.color.Colors
Returns the red channel.
release(Framebuffer) - Method in class lol.trq.helios.fbo.FramebufferPool
Gives a framebuffer back.
reloadAll() - Method in class lol.trq.helios.shader.ShaderLoader
Rebuilds every program this loader made and still owns.
reloaded() - Method in record class lol.trq.helios.shader.ShaderHotReload.Result
Returns the value of the reloaded record component.
remap(double, double, double, double, double) - Static method in class lol.trq.helios.math.Maths
Maps a value from one range to another, not clamped.
REPLACE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_REPLACE.
requireCoreContext() - Static method in class lol.trq.helios.gl.Gl41CoreBackend
Checks that the current context is an OpenGL 4.1 or later core profile.
reset() - Method in class lol.trq.helios.anim.Stopwatch
Restarts from zero.
reset() - Method in class lol.trq.helios.model.PlayerPose
Resets to a player standing at the camera, facing south, with nothing worn.
resolve(String) - Method in interface lol.trq.helios.shader.SourceResolver
Loads a file.
resource(ClassLoader, String) - Static method in class lol.trq.helios.text.MsdfFont
Reads a font from the class path.
restart() - Method in class lol.trq.helios.anim.Animation
Restarts from 0 towards 1.
Result(boolean, List) - Constructor for record class lol.trq.helios.shader.ShaderHotReload.Result
Creates an instance of a Result record class.
reversed() - Method in interface lol.trq.helios.anim.Easing
Plays this curve backwards in time: 1 - f(1 - t), turning an ease-out into the matching ease-in.
riding() - Method in class lol.trq.helios.model.PlayerPose
Returns whether the player rides a living entity.
right() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the right record component.
RING - Static variable in class lol.trq.helios.gl.StreamBuffer
Buffers in the ring.
root(PlayerPose, float[]) - Static method in class lol.trq.helios.model.PlayerModel
Writes the model root: model pixels, before any part's pivot, to camera-relative world blocks.
rotation(float, float, float, float, float[]) - Static method in class lol.trq.helios.math.Mat4
A rotation about an axis, as glRotatef.
round(double, int) - Static method in class lol.trq.helios.math.Maths
Rounds to decimal places, half away from zero, without BigDecimal.
roundedRect(float, float, float, float, float) - Static method in class lol.trq.helios.sdf.Sdf
Distance from a point to a rounded rectangle centred on the origin.
run(ShaderProgram, Framebuffer, Framebuffer, Consumer) - Method in class lol.trq.helios.effect.Passes
Runs a custom full-screen program from one texture into a framebuffer.

S

saturation(int) - Static method in class lol.trq.helios.color.Colors
Returns the HSB saturation.
scale(int, float) - Static method in class lol.trq.helios.color.Colors
Scales the RGB channels, keeping alpha.
SCALE - Static variable in class lol.trq.helios.model.PlayerModel
The player renderer's scale.
scissor() - Method in class lol.trq.helios.Helios
Returns the scissor stack.
scissor(boolean, int, int, int, int) - Method in class lol.trq.helios.state.StateGuard
Sets the scissor test and box.
scissor(int, int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
scissor(int, int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets the scissor box, in framebuffer pixels.
SCISSOR - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_SCISSOR_TEST and the scissor box.
SCISSOR_BOX - Static variable in interface lol.trq.helios.gl.GlBackend
GL_SCISSOR_BOX.
SCISSOR_TEST - Static variable in interface lol.trq.helios.gl.GlBackend
GL_SCISSOR_TEST.
ScissorStack - Class in lol.trq.helios.state
Nested clipping rectangles in drawing units, each clipped to the one outside it.
ScissorStack(GlBackend, GlStateCache, SurfaceSize) - Constructor for class lol.trq.helios.state.ScissorStack
Creates a stack.
Sdf - Class in lol.trq.helios.sdf
Signed distance functions and anti-aliasing coverage, the same formulas the shaders in lol/trq/helios/shaders/lib/sdf.glsl use.
segment(float, float, float, float, float, float) - Static method in class lol.trq.helios.sdf.Sdf
Distance from a point to a line segment.
set(float[], float[], int[], float) - Method in class lol.trq.helios.math.Projector
Sets the matrices and viewport directly.
set(String, float) - Method in class lol.trq.helios.shader.ShaderProgram
Sets a float uniform.
set(String, float[]) - Method in class lol.trq.helios.shader.ShaderProgram
Sets a mat4 uniform.
set(String, float, float) - Method in class lol.trq.helios.shader.ShaderProgram
Sets a vec2 uniform.
set(String, float, float, float, float) - Method in class lol.trq.helios.shader.ShaderProgram
Sets a vec4 uniform.
set(String, int) - Method in class lol.trq.helios.shader.ShaderProgram
Sets an int or sampler uniform.
setEnabled(int, boolean) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
setEnabled(int, boolean) - Method in interface lol.trq.helios.gl.GlBackend
Turns a capability on or off.
SHADER_DIR_PROPERTY - Static variable in class lol.trq.helios.minecraft.MinecraftHelios
System property naming a shader source directory; when set, MinecraftHelios.create() turns on hot reload from it.
SHADER_ROOT - Static variable in class lol.trq.helios.Helios
Class path root of the built-in shaders.
shaderCompiled(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
shaderCompiled(int) - Method in interface lol.trq.helios.gl.GlBackend
Returns whether a shader compiled.
ShaderException - Exception Class in lol.trq.helios.shader
A shader failed to preprocess, compile or link.
ShaderException(String) - Constructor for exception class lol.trq.helios.shader.ShaderException
Creates the exception.
ShaderHotReload - Class in lol.trq.helios.shader
Development hot reload: watches a shader source directory and rebuilds every program of a ShaderLoader when a file changes.
ShaderHotReload(ShaderLoader, Path, long) - Constructor for class lol.trq.helios.shader.ShaderHotReload
Starts watching.
ShaderHotReload.Result - Record Class in lol.trq.helios.shader
What a poll did.
ShaderLoader - Class in lol.trq.helios.shader
Compiles and links programs from preprocessed sources, and reloads them.
ShaderLoader(GlBackend, SourceResolver) - Constructor for class lol.trq.helios.shader.ShaderLoader
Creates a loader.
shaderLog(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
shaderLog(int) - Method in interface lol.trq.helios.gl.GlBackend
Returns a shader's info log.
ShaderLog - Class in lol.trq.helios.shader
Maps the locations in a GLSL info log back to file names.
ShaderPreprocessor - Class in lol.trq.helios.shader
Expands #include directives and injects defines, keeping line numbers traceable.
ShaderPreprocessor(SourceResolver) - Constructor for class lol.trq.helios.shader.ShaderPreprocessor
Creates a preprocessor.
ShaderPreprocessor.Preprocessed - Record Class in lol.trq.helios.shader
A preprocessed shader.
ShaderProgram - Class in lol.trq.helios.shader
A linked program with a uniform location cache.
shaders() - Method in class lol.trq.helios.Helios
Returns the shader loader.
shadow(float, float) - Static method in class lol.trq.helios.sdf.Sdf
Drop shadow falloff: 1 well inside, 0 at softness outside the edge.
shadow(float, float, float, float, float, float, int) - Method in class lol.trq.helios.batch.ShapeBatch
A soft drop shadow for a rounded rectangle.
shadow(TextStyle.Shadow) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets the shadow.
shadowColor(int) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets a fixed shadow colour instead of one derived from the text colour.
ShapeBatch - Class in lol.trq.helios.batch
Draws many signed distance shapes with one program and as few draw calls as possible.
ShapeBatch(GlBackend, GlStateCache, ShaderLoader, int) - Constructor for class lol.trq.helios.batch.ShapeBatch
Creates a batch.
shapes() - Method in class lol.trq.helios.Helios
Returns the shape batch.
SINE_IN_OUT - Static variable in interface lol.trq.helios.anim.Easing
Sine, slow start and end.
SINE_OUT - Static variable in interface lol.trq.helios.anim.Easing
Sine, slow end.
size() - Method in class lol.trq.helios.effect.PostChain
Returns how many passes the chain has.
size() - Method in class lol.trq.helios.text.TextStyle
Returns the size: the em height in drawing units.
size(float) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets the size.
Smooth - Class in lol.trq.helios.anim
A value that glides towards a target with exponential damping, the same at any frame rate.
Smooth(double) - Constructor for class lol.trq.helios.anim.Smooth
Creates a smoothed value at 0, using the system clock.
Smooth(double, Clock) - Constructor for class lol.trq.helios.anim.Smooth
Creates a smoothed value at 0.
smoothstep(float, float, float) - Static method in class lol.trq.helios.sdf.Sdf
GLSL smoothstep.
SMOOTHSTEP - Static variable in interface lol.trq.helios.anim.Easing
Hermite smoothstep.
snap(boolean) - Method in class lol.trq.helios.anim.Animation
Jumps to an end and rests there.
snap(double) - Method in class lol.trq.helios.anim.Smooth
Jumps to a value and rests there.
snap(double, double) - Static method in class lol.trq.helios.math.Maths
Rounds to the nearest multiple of a step, such as 0.5 or a pixel size.
SNEAK_BODY_PITCH - Static variable in class lol.trq.helios.model.PlayerModel
Forward tilt of the body when sneaking, in radians.
SNEAK_DROP - Static variable in class lol.trq.helios.model.PlayerModel
How far vanilla lowers other sneaking players, in blocks.
SNEAK_HEAD_PIVOT - Static variable in class lol.trq.helios.model.PlayerModel
Head pivot height when sneaking, in pixels.
SNEAK_SHIFT - Static variable in class lol.trq.helios.model.PlayerModel
How far a sneaking model shifts down, in model units, before scaling.
sneaking - Variable in class lol.trq.helios.model.PlayerPose
Whether the player is sneaking.
SOFT - Enum constant in enum class lol.trq.helios.text.TextStyle.Shadow
A blurred dark copy under the text.
solid(int) - Static method in class lol.trq.helios.batch.Paint
One colour.
source() - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Returns the value of the source record component.
SourceResolver - Interface in lol.trq.helios.shader
Loads shader source text by a /-separated name.
SRC_ALPHA - Static variable in interface lol.trq.helios.gl.GlBackend
GL_SRC_ALPHA.
StateGuard - Class in lol.trq.helios.state
Records the GL state a draw changes and puts it back.
StateGuard.Slot - Enum Class in lol.trq.helios.state
A piece of GL state the guard can save and restore.
STATIC_DRAW - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STATIC_DRAW.
StaticMesh - Class in lol.trq.helios.mesh
A mesh uploaded once into its own GL_STATIC_DRAW buffers and vertex array.
stencil() - Method in class lol.trq.helios.Helios
Returns the stencil clipping helper.
stencil(boolean, int, int, int, int, int, int, int) - Method in class lol.trq.helios.state.StateGuard
Sets the stencil test, function and operations.
STENCIL - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_STENCIL_TEST, the stencil function, operations and write mask.
STENCIL_FAIL - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_FAIL.
STENCIL_FUNC - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_FUNC.
STENCIL_PASS_DEPTH_FAIL - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_PASS_DEPTH_FAIL.
STENCIL_PASS_DEPTH_PASS - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_PASS_DEPTH_PASS.
STENCIL_REF - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_REF.
STENCIL_TEST - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_TEST.
STENCIL_VALUE_MASK - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_VALUE_MASK.
STENCIL_WRITEMASK - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STENCIL_WRITEMASK.
stencilBits() - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
stencilBits() - Method in interface lol.trq.helios.gl.GlBackend
Returns the stencil bits of the bound draw framebuffer.
stencilFunc(int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
stencilFunc(int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets the stencil test.
stencilMask(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
stencilMask(int) - Method in interface lol.trq.helios.gl.GlBackend
Sets the stencil write mask.
StencilMask - Class in lol.trq.helios.state
Clips drawing to an arbitrary shape with the stencil buffer: draw a mask, then draw content only inside it (or only outside it).
StencilMask(GlBackend, GlStateCache, ShapeBatch) - Constructor for class lol.trq.helios.state.StencilMask
Creates the helper.
stencilOp(int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
stencilOp(int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets the stencil operations.
Stopwatch - Class in lol.trq.helios.anim
Measures elapsed time since the last reset; the building block for cooldowns and delays.
Stopwatch() - Constructor for class lol.trq.helios.anim.Stopwatch
Starts a stopwatch on the system clock.
Stopwatch(Clock) - Constructor for class lol.trq.helios.anim.Stopwatch
Starts a stopwatch.
STRATEGY_PROPERTY - Static variable in class lol.trq.helios.gl.StreamBuffer
-Dhelios.stream: subdata (default) or map.
STREAM_DRAW - Static variable in interface lol.trq.helios.gl.GlBackend
GL_STREAM_DRAW.
StreamBuffer - Class in lol.trq.helios.gl
Streamed vertex data, the one place that decides how per-frame uploads reach the GPU.
StreamBuffer(GlBackend, long) - Constructor for class lol.trq.helios.gl.StreamBuffer
Creates the ring lazily on first use.
stride() - Method in enum class lol.trq.helios.mesh.MeshFormat
Returns the bytes per vertex.
STRIDE - Static variable in class lol.trq.helios.batch.ShapeBatch
Bytes per vertex.
strip(CharSequence) - Static method in class lol.trq.helios.text.TextRenderer
Removes formatting codes.
stroke(float, float) - Static method in class lol.trq.helios.sdf.Sdf
Turns a filled shape into an outline: a band of the given width just inside its edge.
surface(ClassLoader) - Static method in class lol.trq.helios.minecraft.MinecraftHelios
Returns the game window's framebuffer size, read from Minecraft.displayWidth and displayHeight, which are framebuffer pixels (on LWJGL 3 through Lazarus, also on high-DPI screens).
SurfaceSize - Interface in lol.trq.helios.fbo
The size of the window's framebuffer in pixels.
SYSTEM - Static variable in interface lol.trq.helios.anim.Clock

T

target() - Method in class lol.trq.helios.anim.Smooth
Returns the target.
target(double) - Method in class lol.trq.helios.anim.Smooth
Sets where the value is heading.
TAU - Static variable in class lol.trq.helios.sdf.Sdf
A full turn in radians.
text() - Method in class lol.trq.helios.Helios
Returns the text renderer.
TextRenderer - Class in lol.trq.helios.text
Lays out and draws single lines of left-to-right text with kerning, through a ShapeBatch, so text and shapes share draw calls and stay in order.
TextRenderer(GlBackend) - Constructor for class lol.trq.helios.text.TextRenderer
Creates a renderer.
TextStyle - Class in lol.trq.helios.text
How text is drawn: font, size, colour, shadow, weight, spacing and whether ยง formatting codes apply.
TextStyle.Builder - Class in lol.trq.helios.text
Accumulates a TextStyle.
TextStyle.Shadow - Enum Class in lol.trq.helios.text
Text shadows.
texture() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the texture record component.
texture(int) - Method in class lol.trq.helios.mesh.MeshRenderer
Sets the texture of the textured quads that follow, flushing those already written with another.
texture(int, int) - Method in class lol.trq.helios.state.StateGuard
Binds a 2D texture on a texture unit, leaving that unit active.
texture(GlBackend) - Method in class lol.trq.helios.text.MsdfFont
Returns the atlas texture, uploading it on first use.
TEXTURE_BINDING_2D - Static variable in interface lol.trq.helios.gl.GlBackend
GL_TEXTURE_BINDING_2D.
TEXTURE0 - Static variable in interface lol.trq.helios.gl.GlBackend
GL_TEXTURE0.
textured() - Method in class lol.trq.helios.mesh.MeshRecorder
Returns the sink for a MeshFormat.TEXTURED recorder.
textured() - Method in class lol.trq.helios.mesh.MeshRenderer
Returns the sink for textured, optionally lit quads; they use the texture set by MeshRenderer.texture(int).
TEXTURED - Enum constant in enum class lol.trq.helios.mesh.MeshFormat
TexturedSink: position, texture coordinates, normal (3 signed bytes and a pad) and colour; 28 bytes.
TEXTURED_ALPHA_CUTOFF - Static variable in class lol.trq.helios.mesh.MeshRenderer
Default alpha cutoff of textured meshes, as Minecraft's alpha test for entities.
TexturedSink - Interface in lol.trq.helios.mesh
Takes textured quads: four vertices per quad, in order around it.
TEXTURES - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The 2D texture bound on each touched unit.
then(ShaderProgram, Consumer) - Method in class lol.trq.helios.effect.PostChain
Appends a pass.
tick() - Method in class lol.trq.helios.Helios
Per-frame housekeeping: rotates the streamed vertex buffers of the shapes and meshes and polls shader hot reload when it is on.
toggle() - Method in class lol.trq.helios.anim.Animation
Reverses the direction.
toLinear(int) - Static method in class lol.trq.helios.color.Colors
Converts an 8-bit sRGB channel to linear light.
top() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the top record component.
toPixels(float, float, float, float, float, int) - Static method in class lol.trq.helios.state.ScissorStack
Converts a rectangle in drawing units to a scissor box, rounding outward.
toSrgb(float) - Static method in class lol.trq.helios.color.Colors
Converts linear light to sRGB.
toString() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns a string representation of this record class.
toString() - Method in record class lol.trq.helios.shader.ShaderHotReload.Result
Returns a string representation of this record class.
toString() - Method in record class lol.trq.helios.shader.ShaderPreprocessor.Preprocessed
Returns a string representation of this record class.
toString() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns a string representation of this record class.
touched() - Method in class lol.trq.helios.state.StateGuard
Returns the slots this guard will restore, in first-touch order.
transform(float[]) - Method in interface lol.trq.helios.mesh.LineSink
 
transform(float[]) - Method in interface lol.trq.helios.mesh.MeshSink
Sets the transform for the vertices that follow.
transform(float[]) - Method in interface lol.trq.helios.mesh.QuadSink
 
transform(float[]) - Method in interface lol.trq.helios.mesh.TexturedSink
 
transform(float[], double, double, double, double, float[]) - Static method in class lol.trq.helios.math.Mat4
Transforms a point: m * (x, y, z, w).
translation(float, float, float, float[]) - Static method in class lol.trq.helios.math.Mat4
A translation.
TRIANGLES - Static variable in interface lol.trq.helios.gl.GlBackend
GL_TRIANGLES.
trim() - Method in class lol.trq.helios.fbo.FramebufferPool
Deletes every idle framebuffer.
type(int) - Static method in class lol.trq.helios.gl.QuadIndices
Returns the smallest index type that can address a number of quads.

U

u0() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the u0 record component.
u1() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the u1 record component.
uniform1f(int, float) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniform1f(int, float) - Method in interface lol.trq.helios.gl.GlBackend
Sets a float uniform on the bound program.
uniform1i(int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniform1i(int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets an int or sampler uniform on the bound program.
uniform2f(int, float, float) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniform2f(int, float, float) - Method in interface lol.trq.helios.gl.GlBackend
Sets a vec2 uniform on the bound program.
uniform4f(int, float, float, float, float) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniform4f(int, float, float, float, float) - Method in interface lol.trq.helios.gl.GlBackend
Sets a vec4 uniform on the bound program.
uniformLocation(int, String) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniformLocation(int, String) - Method in interface lol.trq.helios.gl.GlBackend
Looks up a uniform.
uniformMatrix4(int, float[]) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
uniformMatrix4(int, float[]) - Method in interface lol.trq.helios.gl.GlBackend
Sets a mat4 uniform on the bound program.
UNSIGNED_BYTE - Static variable in interface lol.trq.helios.gl.GlBackend
GL_UNSIGNED_BYTE.
UNSIGNED_INT - Static variable in interface lol.trq.helios.gl.GlBackend
GL_UNSIGNED_INT.
UNSIGNED_SHORT - Static variable in interface lol.trq.helios.gl.GlBackend
GL_UNSIGNED_SHORT.
update() - Method in class lol.trq.helios.anim.Smooth
Advances to now and returns the value.
upload(ByteBuffer, int) - Method in class lol.trq.helios.gl.StreamBuffer
Uploads data into the current buffer and leaves it bound to GlBackend.ARRAY_BUFFER.
useProgram(int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
useProgram(int) - Method in interface lol.trq.helios.gl.GlBackend
Binds a program.

V

v0() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the v0 record component.
v1() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns the value of the v1 record component.
value() - Method in class lol.trq.helios.anim.Animation
Returns the eased value.
value() - Method in class lol.trq.helios.anim.Smooth
Returns the value without advancing.
valueOf(String) - Static method in enum class lol.trq.helios.mesh.MeshFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class lol.trq.helios.model.Attachment
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class lol.trq.helios.state.StateGuard.Slot
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class lol.trq.helios.text.TextStyle.Shadow
Returns the enum constant of this class with the specified name.
values() - Static method in enum class lol.trq.helios.mesh.MeshFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class lol.trq.helios.model.Attachment
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class lol.trq.helios.state.StateGuard.Slot
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class lol.trq.helios.text.TextStyle.Shadow
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Static method in class lol.trq.helios.Helios
Returns the library version from the jar manifest.
version() - Method in class lol.trq.helios.minecraft.MinecraftOptiFine
Returns OptiFine's version, such as OptiFine_1.8.9_HD_U_M5.
VERSION_LINE - Static variable in class lol.trq.helios.shader.ShaderPreprocessor
The one GLSL version every Helios shader uses.
vertex(float, float, float, float, float, float, float, float, int) - Method in interface lol.trq.helios.mesh.TexturedSink
Writes one vertex.
vertex(float, float, float, int) - Method in interface lol.trq.helios.mesh.QuadSink
Writes one vertex.
VERTEX_ARRAY - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
GL_VERTEX_ARRAY_BINDING.
VERTEX_ARRAY_BINDING - Static variable in interface lol.trq.helios.gl.GlBackend
GL_VERTEX_ARRAY_BINDING.
VERTEX_SHADER - Static variable in interface lol.trq.helios.gl.GlBackend
GL_VERTEX_SHADER.
vertexArray(int) - Method in class lol.trq.helios.state.StateGuard
Binds a vertex array object.
vertexAttribPointer(int, int, int, boolean, int, long) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
vertexAttribPointer(int, int, int, boolean, int, long) - Method in interface lol.trq.helios.gl.GlBackend
Describes a vertex attribute in the bound vertex array, reading from the bound array buffer.
vertical(int, int) - Static method in class lol.trq.helios.batch.Paint
Top to bottom.
viewport(int, int, int, int) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
viewport(int, int, int, int) - Method in interface lol.trq.helios.gl.GlBackend
Sets the viewport, in framebuffer pixels.
viewport(int, int, int, int) - Method in class lol.trq.helios.state.StateGuard
Sets the viewport.
VIEWPORT - Enum constant in enum class lol.trq.helios.state.StateGuard.Slot
The viewport.
VIEWPORT - Static variable in interface lol.trq.helios.gl.GlBackend
GL_VIEWPORT.
visible() - Method in record class lol.trq.helios.text.MsdfFont.Glyph
Returns whether the glyph has anything to draw.

W

waitFence(long, long) - Method in class lol.trq.helios.gl.Gl41CoreBackend
 
waitFence(long, long) - Method in interface lol.trq.helios.gl.GlBackend
Waits for a fence, flushing commands first.
weight(float) - Method in class lol.trq.helios.text.TextStyle.Builder
Sets extra stroke weight.
width() - Method in record class lol.trq.helios.fbo.Framebuffer
Returns the value of the width record component.
width() - Method in interface lol.trq.helios.fbo.SurfaceSize
Returns the framebuffer width.
width(CharSequence, TextStyle) - Method in class lol.trq.helios.text.TextRenderer
Measures a line of text.
withAlpha(int, float) - Static method in class lol.trq.helios.color.Colors
Replaces the alpha channel.
wrap(float) - Static method in class lol.trq.helios.model.PlayerModel
Wraps an angle to [-180, 180), as MathHelper.wrapAngleTo180_float.
wrapDegrees(double) - Static method in class lol.trq.helios.math.Maths
Wraps an angle to [-180, 180).

X

x - Variable in class lol.trq.helios.model.PlayerPose
Feet position relative to the camera, x.

Y

y - Variable in class lol.trq.helios.model.PlayerPose
Feet position relative to the camera, y.

Z

z - Variable in class lol.trq.helios.model.PlayerPose
Feet position relative to the camera, z.
A B C D E F G H I K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form