← Back to Docs
  • index.html
  • Clayground
  • Clayground Canvas3D Module
  • Clayground 2026.7
  • Clayground Canvas3D Module

    BenchLogger

    Samples a View3D's renderStats at a fixed interval and writes them to a CSV file

    Box3D

    A 3D box with customizable dimensions, edge rendering, and toon shading

    Box3DGeometry

    Custom geometry for 3D boxes with edge rendering support

    BoxLine3D

    Renders a 3D line as connected box segments using GPU instancing

    Connector3D

    A dynamic connection line between two scene nodes, drawn in a batch

    ConnectorLayer3D

    Draws many dynamic Connector3D lines as a single instanced batch

    DynamicInstances3D

    Fast, general-purpose dynamic instance table for animated fleets

    DynamicVoxelMap

    Voxel map optimized for frequent updates using GPU instancing

    Label3D

    A camera-facing callout label anchored to a 3D node or position

    LabelBatch3D

    Renders thousands of SDF text labels in a few instanced draw calls

    LabelBatchInstancing

    Per-glyph instance table for the batched LabelBatch3D renderer

    LabelGlyphAtlas

    Incremental single-channel SDF glyph atlas for LabelBatch3D

    LabelPillInstancing

    Per-label pill-background instance table for LabelBatch3D

    Line3D

    A simple 3D line connecting multiple points

    LineBatch3D

    Renders very large sets of styled polylines in a single instanced draw call

    LineBatchGeometry

    Base quad geometry for the instanced LineBatch3D renderer

    LineBatchInstancing

    Per-line instance table for the batched LineBatch3D renderer

    LineInstancing

    GPU instancing for rendering lines as connected box segments

    LineStyleTextureData

    Bakes a list of line styles into a small RGBA32F lookup texture

    MultiLine3D

    Renders multiple 3D line paths in a single draw call

    OrbitCamera3D

    An orbit camera on a leash: circles a pivot, never dives through the floor

    OrbitInput3D

    Turns drags, wheels and double-clicks into OrbitCamera3D moves, under one rule: the left button is never the camera's

    PathLabel3D

    Street-name style text laid flat on the ground, following a line

    PerfHud

    Compact always-on-top performance overlay for a View3D

    PerfRegistry

    App-wide singleton for measuring named code sections and event rates

    Poly3D

    A filled planar polygon, with holes, in any of the three world planes

    Poly3DGeometry

    Custom geometry for filled planar polygons

    StaticVoxelMap

    Optimized voxel map for large, static structures

    VoxelMap

    Base type for voxel-based 3D structures

    VoxelMapGeometry

    Optimized geometry for static voxel maps using chunked greedy meshing

    VoxelMapInstancing

    GPU instancing for dynamic voxel maps with per-voxel colors