Package-level declarations
Types
Submission strategy for geometry started in WorldRenderEnvironment.
A growable GpuBuffer wrapper for streaming GPU data (e.g. dynamic VBO/IBO uploads).
Context representing the rendering environment.
Properties
This variable should be used when rendering long lines, meaning longer than ~2 in 3d. WorldRenderEnvironment.longLines is available for this.
Functions
Set vertex and index buffers for RenderPass and call RenderPass.drawIndexed.
Color-only RenderPass.
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
Float version of GuiGraphics.drawHorizontalLine
Function to draw lines using the specified positions vectors.
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.
Float version of GuiGraphics.drawVerticalLine
Disables GL11C.GL_LINE_SMOOTH if HAS_AMD_VEGA_APU.
Shortcut of withPositionRelativeToCamera(Vec3d.of(pos))
Shorthand for withPosition(relativeToCamera(pos))