Package icyllis.arc3d.granite.geom
package icyllis.arc3d.granite.geom
-
ClassDescriptionAnalytic (SDF + HW derivatives) method to fill/stroke a butt/round/square stroked arc curve, a circular sector, or a circular segment.This technology draws ellipse (fill, stroke, stroke and fill), round rectangles with elliptical corners (fill, stroke, stroke and fill; four corners have the same radius), supports stroke direction (inside, center, outside) using analytic method.This technology draws zero-area lines (round cap, square cap, butt cap), shaped lines (round, square; fill, stroke, stroke and fill), rectangles (fill, stroke, stroke and fill; round join, miter join), round rectangles with circular corners (fill, stroke, stroke and fill; four corners have the same radius), circle (fill, stroke, stroke and fill), supports stroke direction (inside, center, outside) using analytic method.BoundsManager is an acceleration structure for device-space related pixel bounds queries.The output of this effect is a modulation of the input color and coverage for a circle.A BoundsManager that tracks every draw and can exactly determine all queries using a brute force search.A BoundsManager that tracks highest CompressedPaintersOrder over a uniform spatial grid.A BoundsManager that first relies on
FullBoundsManager
for N draw calls, and then switches to theGridBoundsManager
if it exceeds its limit.Draw text using a GPU glyph atlas and raster data generated by CPU.Generates rectangle geometric primitive, uses instanced rendering.A BoundsManager that produces exact painter's order and assumes nothing is occluded.