Expand description
Host-agnostic value types shared across plugin layers and sources.
Structs§
- Canonical
Tile Id - Canonical tile coordinate (
z,x,y). - Collision
Shape - A shape that a frame’s placement tested for a label or an icon
(
Frame::collision_shapes). - Color
- Straight (non-premultiplied) extended-sRGB RGBA color.
- Cull
Face Mode - Face culling configuration for a mesh.
- D3d12
Encoder - Direct3D 12 device and command list lent before passes begin.
- D3d12
Pass - Direct3D 12 render pass lent at a layer’s place.
- Draw
Options - Per-draw submission options.
- Draw
Range - One indexed draw call range within a mesh.
- Frame
Info - Snapshot of frame-level parameters (sizes in device pixels).
- LatLng
- Geographic coordinate in WGS84 degrees.
- LatLng
Bounds - Geographic bounding box.
- Lend
Frame - Frame camera, projection, and attachment dimensions during a lent GPU callback.
- Metal
Encoder - Metal encoder lent before passes begin.
- Metal
Pass - Metal render pass lent at a layer’s place.
- Open
GlEncoder - OpenGL or WebGL2 context lent before passes begin.
- Open
GlPass - OpenGL or WebGL2 framebuffer lent at a layer’s place.
- Point
I16 - Tile-space integer point.
- Projected
Point - Result of projecting a tile point through the active projection.
- Projection
Ubo - Per-draw tile projection uniform block.
- Render
Passes - Render pass bitmask.
- Sampler
State - Texture sampler configuration.
- Screen
Point - Screen-space coordinate in logical pixels from top-left.
- Tile
Changes - Tile change bitmask reported by
PrepareCx::take_tile_changes. - TileId
- Overscaled and wrapped tile coordinate.
- Tile
Times - Cache timestamps for a delivered plugin source tile.
- Tile
Transform - Tile transform parameters for
Frame::tile_projection. - Vec2
- Two-component float vector.
- View
Info - Snapshot of camera view parameters (sizes in logical pixels, angles in radians).
- Vulkan
Context Descriptor - Vulkan device/queue handles exposed to a lent GPU callback.
- Vulkan
Encoder - Vulkan command buffer lent before passes begin.
- Vulkan
Pass - Vulkan render pass lent at a layer’s place.
- WebGpu
Encoder - WebGPU device and command encoder object IDs lent before passes begin.
Enums§
- Alignment
- Translate anchor or pitch alignment frame of reference.
- Collision
Shape Kind - The geometry of a
CollisionShape, in logical pixels from the view’s top-left corner. - Color
Mode - Color blend mode preset for a mesh.
- Cull
Face Side - Cull
Face Winding - Depth
Mode - Depth testing mode for a draw call.
- Draw
Mode - Primitive draw mode for a mesh.
- Feature
Type - Vector tile feature geometry type.
- GpuEnd
- How the GPU work waited on by
crate::AfterGpu::pushended. - Layer
Input - What input data drives a plugin layer’s per-frame preparation.
- LendAt
- When in a frame the renderer lends raw backend GPU commands to a layer.
- Lend
Encoder - Raw backend GPU encoder lent outside the map’s render pass (
LendAt::BeforePasses). - Lend
Pass - Raw backend GPU render pass lent at the layer’s place (
LendAt::Pass). - Lend
Stage - Stage-specific payload inside
crate::LendParameters. - MapMode
- Map rendering mode.
- Projection
Variant - Active projection variant for shader compilation.
- Raster
Encoding - Elevation encoding for
RasterDemplugin sources. - Render
Backend - Graphics backend active for a render session.
- Terrain
Mode - How a plugin layer interacts with 3D terrain.
- Texture
Channel Type - Render target color channel type.
- Texture
Filter - Texture sampler filter mode.
- Texture
Format - Texture texel format.
- Texture
Wrap - Texture sampler wrap mode.
- Tile
Necessity - Tile urgency reported to plugin sources.
- Tile
Order - Order in which tiles are passed to a layer’s prepare callback.
- Tile
Scheme - Whether a plugin source counts tile rows from the north (XYZ) or south (TMS).