Expand description
Safe, host-agnostic traits, descriptors, contexts, and RAII GPU handles for layer plugins.
Structs§
- After
Gpu - Owned handle to a render session’s post-GPU cleanup queue.
- After
GpuRef - Borrowed reference to a render session’s post-GPU cleanup queue valid during
LayerInstance::lend. - Composite
- Compositing configuration for a
DrawGroup. - Draw
Group - Borrowed draw group for pushing draws and uniform blocks.
- Draws
- Borrowed draw collector passed to
LayerInstance::prepare. - Evaluate
Cx - Borrowed context for
LayerInstance::evaluate. - Evaluated
Layer - Borrowed view of an evaluated custom style layer.
- Evaluation
- Output of
LayerInstance::evaluate. - Frame
- Borrowed per-frame read-only state (viewport, ground, tile projection).
- Frame
Query Cx - Borrowed frame-query context passed to
LayerInstance::hit_frame. - Ground
Heights - Owned ground-height sampler cache for standing geometry layers.
- HitCx
- Borrowed hit-test context passed to
LayerInstance::hit. - HitInfo
- Metadata snapshot for a tile-feature hit test (
LayerInstance::hit). - Host
- Borrowed host handle passed to
LayerPlugin::initwhen a plugin is registered, allowing one-time creation of shared resources such as shaderPrograms. - Index
Buffer - Owned GPU index buffer handle.
- Layer
Desc - Static descriptor for a custom layer type returned by
LayerPlugin::desc. - Lend
Parameters - Borrowed parameters passed to
LayerInstance::lend. - Loaded
Feature Info - Information about the currently loaded feature inside
TileBuildCx. - Mesh
- Owned GPU mesh handle.
- Mesh
Desc - Descriptor passed to
Resources::create_mesh. - Paint
Attributes - Owned paint-attribute binder snapshot for a tile/layer.
- Prepare
Cx - Borrowed context for
LayerInstance::prepare. - Property
Desc - Descriptor for one custom paint or layout property.
- Raster
Tile Info - Borrowed raster pixel info for a raster tile.
- Resources
- Borrowed GPU resource allocator valid during
create_tile_resourcesandprepare. - Target
- Owned offscreen render target handle.
- Texture
- Owned GPU texture handle.
- Tile
- Borrowed tile handle valid during
update,create_tile_resources, andprepare. - Tile
Build Cx - Tile-worker layout context passed to
LayerPlugin::build_tile_geometry. - TileCx
- Borrowed context for
LayerInstance::create_tile_resources. - Tile
Geometry - Borrowed worker-built tile geometry handle.
- Tile
Geometry Builder - Output builder passed to
LayerPlugin::build_tile_geometry. - Update
Cx - Borrowed context for
LayerInstance::update. - Vertex
Attribute - Attribute entry inside a
VertexBinding. - Vertex
Binding - Vertex buffer stream binding passed to
MeshDescorMesh::bind_vertices. - Vertex
Buffer - Owned GPU vertex buffer handle.
- View
- Borrowed camera/projection view handle.
Enums§
- Hit
- Outcome of a tile-feature hit test (
LayerInstance::hit). - Layer
Blend - Compositing blend mode for a draw group.
- Property
Default - Typed default value for a custom style property.
- Property
Scope - Whether a custom property belongs to paint or layout.
Traits§
- Layer
Instance - Per-style-layer render-thread instance for a
LayerPlugin. - Layer
Plugin - Custom style layer type implemented against the MapLibre Plugin SDK.