World Render Environment
Context representing the rendering environment.
Parameters
The render target framebuffer.
Functions
Temporarily switches the environment to batch mode.
Function to draw the outline of a circle of the size radius
Preferred mesh draw helper for world rendering code.
Variant of drawCustomMesh that binds sampler0 as Sampler0.
Function to draw a circle of the size outerRadius with a cutout of size innerRadius
Function to draw a line strip using the specified positions vectors.
Function to draw a 'line strip' using the specified positions vectors, actual pipeline is ClientRenderPipelines.Lines.
Draws lines with width. Modern GL doesn't support glLineWidth well, so draw with shader simulation.
Temporarily switches the environment to immediate mode.
Disables GL11C.GL_LINE_SMOOTH if HAS_AMD_VEGA_APU.
Converts a world-space position to the camera-relative coordinate system.
Shortcut of withPositionRelativeToCamera(Vec3d.of(pos))
Shorthand for withPosition(relativeToCamera(pos))