# Functions
Captures returns all the captures stored by the database by identifier.
Export encodes the given capture and associated resources and writes it to the supplied io.Writer in the pack file format, producing output suitable for use with Import or opening in the trace editor.
Get retrieves the capture path from a context previously annotated by Put.
Import imports the capture by name and data, and stores it in the database.
New returns a path to a new capture stored in the database.
NewGraphicsCapture returns a new graphics capture with the given values.
NewState returns a new, default-initialized State object built for the capture held by the context.
Put attaches a capture path to a Context.
Resolve resolves the capture from a context previously annotated by Put.
ResolveFromID resolves a single capture with the ID id.
ResolveFromPath resolves a single capture with the path p.
ResolveGraphics resolves the capture from a context previously annotated by Put, and ensures that it is a graphics capture.
ResolveGraphicsFromID resolves a single graphics capture with the ID id.
ResolveGraphicsFromPath resolves a single graphics capture with the path p.
ResolvePerfetto resolves the capture from a context previously annotated by Put, and ensures that it is a perfetto capture.
ResolvePerfettoFromID resolves a single perfetto capture with the ID id.
ResolvePerfettoFromPath resolves a single perfetto capture with the path p.
# Constants
CurrentCaptureVersion is incremented on breaking changes to the capture format.